Performance Class data
Performance class data provides detailed resource-level data that can be used for accounting, performance analysis, and capacity planning. This data contains information relating to individual task resource usage, and is completed for each task when the task terminates. This information could be used periodically to calculate the charges applicable to different tasks. If you want to set up algorithms for charging users for resources used by them, you could use this class of data collection to update the charging information in your site's accounting programs.
CMF collects performance class data at system-defined event-monitoring points (EMPs) in the CICS® code. You cannot relocate these EMPs, but you can add additional ones in your application programs using the EXEC CICS MONITOR command (see the CICS Application Programming Reference for programming information about this command). For example, you could use additional EMPs to count the number of times a certain event occurs, or to time the interval between two events. Additional EMPs are also provided in some IBM® licensed products, such as IMS™ DBCTL.
For each EMP that you code in an application program, you must code a corresponding definition in the Monitoring Control Table (MCT) using DFHMCT TYPE=EMP. In the MCT, you can also use DFHMCT TYPE=RECORD to exclude specific system-defined performance data from a CICS run. See the CICS Resource Definition Guide for details of the DFHMCT macros.
Performance data records are written to a CICS performance record buffer and not passed to SMF until the buffer is full, performance class monitoring is switched off, or CICS quiesces. If CMF is deactivated or there is an immediate shutdown of CICS, the records in the buffer not yet written to SMF are lost.
- At CICS initialization. Specify MNPER=ON (together with MN=ON) in the SIT.
- Dynamically when CICS is
running. Use either:
- Master terminal command:
CEMT SET MONITOR ON PERF
- API command from within an application program:
EXEC CICS SET MONITOR STATUS(ON) PERFCLASS(PERF)
- Master terminal command: