The SMF header describes the system creating the output.
The SMF product section identifies the subsystem to which the statistics
data relates, which, in the case of CICS® statistics,
is the CICS region, the TS data sharing server, the
CFDT server, or the named counter sequence number server.
Both the SMF header and the SMF product section can be
mapped by the DSECT STSMFDS, which you can generate using the DFHSTSMF
macro as follows:
STSMFDS DFHSTSMF PREFIX=SMF
The
label ‘STSMFDS' is the default DSECT name, and SMF is the default
PREFIX value, so you could also generate the DSECT by coding DFHSTSMF.
The STSMFDS DSECT has the format shown in Figure 1. Figure 1. Format
of the SMF header and product section for statistics records
* START THE SMF HEADER
*
STSMFDS DSECT
SMFSTLEN DS XL2 RECORD LENGTH
SMFSTSEQ DS XL2 SEGMENT DESCRIPTOR
SMFSTFLG DS X OPERATING SYSTEM INDICATOR (see note 1)
SMFSTRTY DC X'6E' RECORD TYPE 110 FOR CICS
SMFSTTME DS XL4 TIME RECORD MOVED TO SMF
SMFSTDTE DS XL4 DATE RECORD MOVED TO SMF
SMFSTSID DS XL4 SYSTEM IDENTIFICATION
SMFSTSSI DS CL4'CICS' SUBSYSTEM IDENTIFICATION
SMFSTSTY DS XL2 RECORD SUBTYPE X'0002' FOR STATISTICS
* (see note 4)
SMFSTTRN DS XL2 NUMBER OF TRIPLETS
DS XL2 RESERVED
SMFSTAPS DS XL4 OFFSET TO PRODUCT SECTION
SMFSTLPS DS XL2 LENGTH OF PRODUCT SECTION
SMFSTNPS DS XL2 NUMBER OF PRODUCT SECTIONS
SMFSTASS DS XL4 OFFSET TO DATA SECTION
SMFSTASL DS XL2 LENGTH OF DATA SECTION
SMFSTASN DS XL2 NUMBER OF DATA SECTIONS
*
* THIS CONCLUDES THE SMF HEADER
*
* START THE SMF PRODUCT SECTION
*
SMFSTRVN DS XL2 RECORD VERSION
SMFSTPRN DS CL8 PRODUCT NAME (GENERIC APPLID)
SMFSTSPN DS CL8 PRODUCT NAME (SPECIFIC APPLID)
SMFSTMFL DS XL2 RECORD MAINTENANCE INDICATOR
DS XL2 RESERVED
DS XL2 RESERVED
SMFSTDTK DS XL4 DOMAIN TOKEN
SMFSTDID DS CL2 DOMAIN ID
SMFSTRQT DS CL3 USS/EOD/REQ/INT STATISTICS TYPE
SMFSTICD DS CL3 YES IF INCOMPLETE DATA RECORDED
SMFSTDAT DS CL8 COLLECTION DATE MMDDYYYY
SMFSTCLT DS CL6 COLLECTION TIME HHMMSS
SMFSTINT DS CL6 INTERVAL HHMMSS. See note 3.
SMFSTINO DS XL4 INTERVAL NUMBER. See note 3.
SMFSTRTK DS XL8 REQUEST TOKEN
SMFSTLRT DS CL6 LAST RESET TIME HHMMSS
SMFSTCST DS XL8 CICS START TIME
SMFSTJBN DS CL8 JOBNAME
SMFSTRSD DS XL4 JOB DATE
SMFSTRST DS XL4 JOB TIME
SMFSTUIF DS CL8 USER IDENTIFICATION
SMFSTPDN DS CL8 OPERATING SYSTEM PRODUCT LEVEL
*
* THIS CONCLUDES THE SMF PRODUCT SECTION
Note:
CICS sets only the subsystem-related bits of the operating system indicator flag byte in the SMF header (SMFSTFLG). SMF sets the remainder of the byte according to the operating system level and other factors. For an explanation of the setting of the other bits, see z/OS MVS System Management Facilities (SMF) .
The copy book DFHSMFDS is also provided and can be used to map
the SMF header and the SMF product sections of all six subtypes
of SMF 110 records written by CICS journaling, CICS monitoring,
and CICS statistics.
Fields SMFSTINT and SMFSTINO are only relevant if
SMFSTRQT is ‘INT'. Otherwise both values should be ignored.
For TS data sharing, the record subtype is X'0003' and certain
fields are not set or are used in a different way. SMFSTPRN and SMFSTSPN
contain the server prefix (DFHXQ) and the pool name.
For coupling facility data table (CFDT) servers, the record subtype
is X'0004' and certain fields are not set or are used in
a different way. SMFSTPRN and SMFSTSPN contain the server prefix (DFHCF)
and the coupling facility data table pool name.
For named counter sequence number servers, the record subtype
is X'0005' and certain fields are not set or are used in
a different way. SMFSTPRN and SMFSTSPN contain the server prefix (DFHNC)
and the pool name.