You can also use application naming event monitoring points.
Application naming is an enabling function that allows your application
programs to invoke special CICS® event monitoring points. Data collected at these CICS-generated EMPs can be used by any CICS monitoring
reporting package.
Figure 1 shows an assembler example of how to move a CICS transaction ID to
the transaction monitoring area.
This example shows 4 bytes of user data, typically the transaction ID, being moved using the
DFHAPPL.1 EMP. The data starts at offset 0, and the data length defaults to the length specified in
the application naming EMP in the MCT. In this example, CICS monitoring domain uses the default length defined in the
MCT, because DATA2 is defined as a null value. For the DFHAPPL EMPs, CICS monitoring domain requires you to
specify both DATA1 and DATA2.
A COBOL example
Figure 2 shows a COBOL example of how to move a predefined
application name and a transaction identifier to the transaction monitoring area. This example uses
both EMP 1 and EMP 2 of the DFHAPPL EMPs, moving 4 bytes and 8 bytes respectively, which are the
default lengths defined in the MCT.