Estimating the primary and secondary quantities in table space and index partitions by importing DML
Use the following procedure to import DML to create a task ID that performs space estimation for all table space partitions and index partitions in a database.
To estimate the primary and secondary quantities in a tablespace and index partitions
In an ISPF editor, type the DML statements to match the one shown in the following figure. Customize the database name to match your local requirements.For information about DML syntax, see CM-PILOT-Data-Manipulation-Language-DML.
SET SPACE ESTIMATION IMPLICIT -- turn space estimation on
-- PQTY = BMCSPACE -- default options
-- ,SQTY = BMCSPACE/10
;
UPDATE DATABASE SET
WHERE
NAME = 'yourDB'-- select database
;The DML specifies to implicitly estimate the space for all table space partitions and index partitions in a database. The primary quantity is set to the value that is returned from space estimation. The secondary quantity is set to one tenth of the value that is returned from space estimation.
- Import the DML file.Now that the DML file has been imported, you can analyze a work ID and execute a worklist.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*