SMF 111-8 Webservice all Statistics
    • 18 Mar 2024
    • 4 Minutes to read
    • Contributors
    • Dark
      Light

    SMF 111-8 Webservice all Statistics

    • Dark
      Light

    Article summary

    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 ctgws

    SMF FieldDB Column nameDescriptionUnit
    ctghd_rtyValue is always CTG8
    SMF11_SIDctghd_sidSID
    SMF111_SDTEctghd_dttmDate-Time the record was written
    SMF111_VRMctghd_vrmRecord version
    SMF111_PRNctghd_prnGeneric Product Name
    SMF111_SPNctghd_spnGateway daemon identifier
    CTG_STATTYPEctghd_statypeStatistics type. This event drives the statistic to be recorded
    CTG_COLDATE
    CTG_COLTIME
    ctghd_coldttmCollection date and time
    CTG_LOCOFFSETctghd_locoffsetOffset from GMT to local timesecond
    CTG_LSTRESETctghd_lstresetLast reset time or initialization timesecond
    CTG_INTERVALctghd_intervalLength of time remaining before the next interval.second
    CTG_INTVCOUNTctghd_intvcountA sequence number that increments each time an interval is requested
    CTG_STARTDATE
    CTG_STARTTIME
    ctghd_startdttmGateway start date and time
    CTG_WS_CREQctgws_creqNumber of inflight web service transactions. These transactions might or might not be active in CICS. However, they represent one mirror transaction, which might be in a suspended state
    CTG_WS_CWAITINGctgws_cwaitingNumber of web services waiting for a worker thread to become available
    CTG_WS_IALLREQctgws_iallreqNumber of web service requests that have been processed. Successful and failed requests are included
    CTG_WS_IAVRESPctgws_iavrespThe average time for web services to respond to requests from remote clients. Successful and failed requests are included. This value includes the CICS response time, as provided by the corresponding CS_LAVRESP statisticmillisecond
    CTG_WS_IREQHIctgws_ireqhiPeak number of concurrent web service transactions that have been in flight at the same time
    CTG_WS_IREQDATActgws_ireqdataThe amount of application request data received from clients of all web servicesbyte
    CTG_WS_IRESPDATActgws_irespdataThe amount of application response data returned to clients of all web services.byte
    CTG_WS_LALLREQctgws_lallreqNumber of web service requests that have been processed. Successful and failed requests are included
    CTG_WS_LAVRESPctgws_lavrespThe average time for web services to respond to requests from remote clients. Successful and failed requests are included. This value includes the CICS response time, as provided by the corresponding CS_LAVRESP statistic.millisecond
    CTG_WS_LREQHIctgws_lreqhiPeak number of concurrent web service transactions that have been in flight at the same time
    CTG_WS_LREQDATActgws_lreqdataThe amount of application request data received from clients of all web services.byte
    CTG_WS_LRESPDATActgws_lrespdataThe amount of application response data returned to clients of all web services.byte
    CTG_WS_SCOUNTctgws_scountNumber of web services defined in the configuration file
    CTG_WS_SMAXHTTPctgws_smaxhttpMaximum number of HTTP client threads

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.