Processing CICS monitoring data

The job steps involved in processing CICS monitoring data are:

Procedure

  1. Unload the SMF data set(s) so that the SMF data is available for processing by a CICS utility. For information about unloading SMF data sets, see the z/OS MVS System Management Facilities (SMF) manual.
  2. Run the DFH$MOLS program to print monitoring records, which you can optionally select by means of control statements. DFH$MOLS automatically sorts the monitoring data for you.
    The program reads, formats, and prints the CICS monitoring data, which is packaged in the following format:
    [SMF HEADER].[SMF PRODUCT SECTION].[CICS DATA SECTION]
    The CICS data section in a monitoring record is one of the following:
    1. A dictionary data section, consisting of a sequence of dictionary entries.
    2. An exception data section, consisting of a single exception record.
    3. A performance data section, consisting of a sequence of field connectors followed by one or more performance records.
    4. A transaction resource data section, consisting of one or more transaction resource monitoring records.
  3. Optional: If you want to analyze the data using your own routines, this is the point at which you can link to a user-written analysis program.
    The DFH$MOLS program prints about one page per task, so take care to specify only those items that you need using the DFH$MOLS program control statements. For details of the selection options, see DFH$MOLS control statements summary.

Example

You run the DFH$MOLS program in a batch region to process any CICS SMF type 110 monitoring records that are present in an unloaded SMF data set, which you can write to either a temporary or cataloged data set. You can determine the scope of the report(s) by supplying control statements in the SYSIN data set.

The DFH$MOLS program sorts the data by means of a link to the MVS™ sort program, DFSORT, passing parameters to the sort, and using the sort exits E15 and E35. You can use any standard sort utility provided it has these E15 and E35 exits. For further information about the DFSORT program, see the z/OS DFSORT Application Programming Guide.