Available automation control points for BMC AMI Stats


BMC AMI Utilities automation control points, which are integrated into all BMC AMI Utilities, can enhance and expand processing options. This topic describes available automation control points to use with BMC AMI Stats.

You include the NGTAUTO DD statement to trigger automation routine processing, as follows:

//NGTAUTO DD DISP=SHR,DSN=hlq.BMCAUTO

The automation routine data set contains one member with each of the routines that you selected.

Important

The following routines should serve only as a basic recommendation for BMC AMI Utilities automation; you can use other automation routines. Also, when this topic lists multiple automation routines, you can exclude as many of the listed routines as you need.

You can use the following standard BMC AMI Utilities automation control points with BMC AMI Stats:

XSUTGLOB

Sets global variables that other automation control points can then use

XSUT0000

Aborts a run before it starts. XSUT0000 is called before processing starts.

XSUTSYIN

Provides full access to the SYSIN in order to modify it. You can use XSUTSYIN, which is called before the parser reads SYSIN, to override or disallow some input utility parameters.

XSTAT001

Prevents statistics from being collected for an object, or changes which statistics to collect for an object. XSTAT001 is called for each index when BMC AMI Stats collects RUNSTATS.

Example

This example tells BMC AMI Stats to skip statistics collection in table space yourTableSpace on database yourDatabase:

If dbname = 'yourDatabase' & tsname = 'yourTableSpace' Then
Do
   skipix = 'Y'
   Say 'Skipping statistic collection for 'yourDatabase'.'yourTableSpace'
End

XSUTTERM

Is called after processing finishes. For example, you can use XSUTTERM to automatically run statistics on a Db2 table after processing completes or to automatically send an audit report.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*