Running the BMCSTATS utility
Use this procedure to run the BMCSTATS utility to populate the DASD MANAGER PLUS database with statistics. This procedure uses the ASUTSYST sample JCL. The procedure collects current statistics for evaluation by BMCTRIG.
- Modify the members to include the Db2 and DASD MANAGER PLUS data set names that are installed at your site.
- Modify the jobcard to meet your installation standards.
- Change the parameters for ASUSMAIN to name your Db2 subsystem and the DASD MANAGER PLUS installation options module.
If you do not want to run against all objects on the subsystem at once, change the %.% pattern in the SYSIN DD syntax to limit the selected objects.
Alternatively, you can define object sets if you require more complex selection criteria at your site. You can also use the sample SQL in ASUINSOS to create an object set, PUBLIC.RTS_STATS, that examines the DB2 RTS tables for objects that need statistics taken. For more information about creating object sets, see Using-object-sets.
For more information about setting up BMCSTATS jobs, see Updating-the-Db2-catalog-by-using-BMCSTATS.
Related topics