Figure 1 shows a sample job with the SMF unload step as well as the
monitoring report step in CICS® TSbeta. Figure 1. Sample job to unload and
process CICS data from SMF data sets
Specify the last character of the data set name (in place of x)
for the SMF data set you are unloading. For information about unloading
multiple SMF data sets, see the notes to the sample DFHSTUP statistics
job in Job to run the DFHSTUP program.
If you want to keep the unloaded data set, change the DSN and
DISP parameters appropriately.
The SMF data set can contain any type of SMF record, but in this
example, only CICS type 110
records are unloaded. Although these records might include CICS statistics records, and any CICS user journal records written
to SMF, the DFH$MOLS program ignores those and processes monitoring
data only; these monitoring records are identified by a record subtype
of 01.
If you generated your own version of the DFH$MOLS program and stored it in a different library
from the CICS-supplied version, change the STEPLIB statement
accordingly. On the STEPLIB statement, specify the library that contains an appropriate version of
the DFH$MOLS program for the CICS release of SMF records to
be formatted.Sample monitoring data print program (DFH$MOLS) lists the
earlier CICS Transaction Server versions and releases
supported by your release of CICS Transaction Server for z/OS®release of DFH$MOLS. Always use the DFH$MOLS from the highest version or release available to
you.
Defines the output data set for the EXPAND control
statement.
Defines the output data set for the UNLOAD control
statement.
These sort work files are required for sorting SMF 110 monitoring
data records.
Specify the control statements for data selection and other options
in SYSIN. For details of the control statements for the DFH$MOLS program,
see DFH$MOLS control statements.
OPTION LOCAL is recommended so that the monitoring
record start and stop timestamp fields are converted into local time
in the reports produced.
PRINT ALL specifies that you want to print all
types of monitoring SMF type 110 records that are selected by other
control statement options.
RESOURCE ALL specifies that you want to print all
types of resource data within each resource record.
EXPAND specifies that you want the monitoring data
to be written to an output data set, including any compressed SMF
110 monitoring records in their expanded format. The DFH$MOLS
program processes only CICS SMF
110 records with record subtype 01. All other SMF 110 records are
ignored.
UNLOAD LOCAL specifies that the performance class
monitoring data is to be unloaded into a fixed length record format.