SMF 111-4 Protocol Handle Statistics

Prev Next

Introduction

When you install CICS® Transaction Gateway, a C header file and a IBM® z/OS® assembler copy macro are provided to define the SMF record structure. The C header file is CTGSMF, located in the SCTGINCL data set and the IBM z/OS assembler copy macro is file CTGSMFA, located in the SCTGMAC data set.

Figure 1. SMF record format
smfdata.gif

  • SMF header data structure
    The format of the header for the SMF record for type 111 records is fixed and is common to SMF records from other CICS products. The Gateway daemon completes the following fields that are marked with "*". The SMF subsystem fills in the rest of the fields. User applications are not required to complete any SMF fields.
  • SMF product section data structure
    The Gateway daemon fills in all the fields in the generic product section for the SMF record for type 111 records. Parts of the record are of fixed format and common to all SMF products. Some parts of this record are specific to CICS Transaction Gateway and have the prefix "CTG".
  • Statistics record header
    The data section contains a number of statistics records. Each statistics record has a header. The header is common to all CICS Transaction Gateway statistics records. You can work out the type of data that follows the record from the CTG_RECORDID and CTG_RECVER fields.
  • Connection Manager (CM) statistics SMF data
    CICS Transaction Gateway CM statistics use this format for writing SMF records.
  • CICS Server all (CS) statistics SMF data
    CICS Transaction Gateway CS statistics use this format for writing SMF records.
  • CICS Server Instance (CSx) SMF statistics for EXCI
    CICS Transaction Gateway statistics records normally have only one instance. The exceptions are CSx and WSx statistics.
  • CICS Server Instance (CSx) SMF statistics for IPIC
    CICS Transaction Gateway statistics records normally have only one instance. The exceptions are CSx and WSx statistics.
  • Gateway daemon (GD) statistics SMF data
    CICS Transaction Gateway daemon statistics use this format for writing SMF records.
  • Protocol handler (PH) statistics SMF data
    CICS Transaction Gateway PH statistics have this format.
  • System environment (SE) statistics SMF data
    CICS Transaction Gateway SE statistics have this format.
  • Worker thread (WT) statistics SMF data
    CICS Transaction Gateway WT statistics have this format.
  • Web service all (WS) statistics SMF data
    CICS Transaction Gateway WS statistics use this format for writing SMF records.
  • Web service instance (WSx) SMF statistics
    CICS Transaction Gateway statistics records normally have only one instance. The exceptions are CSx and WSx statistics.
  • SMF date format - byte packed date format
    Definition of the format used to represent dates in SMF.
  • SMF data format - sample values
    Sample values for CTG_COLTIME and CTG_LOCOFFSET.

Fields

Stored in ctgph

SMF Field DB Column name Description Unit
ctghd_rty Value is always CTG4
SMF11_SID ctghd_sid SID
SMF111_SDTE ctghd_dttm Date-Time the record was written
SMF111_VRM ctghd_vrm Record version
SMF111_PRN ctghd_prn Generic Product Name
SMF111_SPN ctghd_spn Gateway daemon identifier
CTG_STATTYPE ctghd_statype Statistics type. This event drives the statistic to be recorded
CTG_COLDATE
CTG_COLTIME
ctghd_coldttm Collection date and time
CTG_LOCOFFSET ctghd_locoffset Offset from GMT to local time second
CTG_LSTRESET ctghd_lstreset Last reset time or initialization time second
CTG_INTERVAL ctghd_interval Length of time remaining before the next interval. second
CTG_INTVCOUNT ctghd_intvcount A sequence number that increments each time an interval is requested
CTG_STARTDATE
CTG_STARTTIME
ctghd_startdttm Gateway start date and time
CTG_PH_SPORTSSL ctgph_sportssl SSL protocol handler port number
CTG_PH_SPORTTCP ctgph_sporttcp TCP protocol handler port number
CTG_PH_SBINDTCP ctgph_sbindtcp TCP protocol handler BIND address
CTG_PH_SBINDSSL ctgph_sbindssl SSL protocol handler BIND address
CTG_PH_SPORTHTTP ctgph_sporthttp HTTP protocol handler port number
CTG_PH_SPORTGTTPS ctgph_sporthttps HTTPS protocol handler port number
CTG_PH_SBINDHTTP ctgph_sbindhttp HTTP protocol handler BIND address
CTG_PH_SBINDHTTPS ctgph_sbindhttps HTTPS protocol handler BIND address