DFHAPST
Entry points
DFHAPST
Called by
DFHEIP, DFHSTST
Description
The supervisory statistics program within the AP domain accepts a request for and then supervises the copying/resetting of statistics counters in the AP domain by calling the appropriate DFHSTxx modules to access the counters.
This module is called when:
- Statistics domain is collecting INTERVAL statistics and calls this module to pass it copies of and to reset all statistics in AP domain. This module then sequentially calls all of the DFHSTxx modules to do the copying and resetting.
- A CEMT PERFORM STATISTICS command results in a call to the statistics domain which then makes an appropriate call to this module to pass it copies of the requested statistics. This module then calls the DFHSTxx modules required to do the copying.
- An EXEC CICS COLLECT STATISTICS command results in a call to this module which then calls the DFHSTxx module required to pass copies of the statistics back to the application program.
Thus, this module is called only by the statistics domain or by DFHEIP.
This module provides two functions:
- COLLECT_STATISTICS
- collects statistics for all resources in the AP domain and calls the statistics domain to write them out to the SMF data set.
- COLLECT_RESOURCE_STATS
- collects statistics for the named resource type (optionally qualified by the resource identifier) and either copies them to a buffer available through the API, or causes them to be written to the SMF data set.