SMF type 120, subtype 11, version 2 and version 3 record mapping
The SMF data in the type 120, subtype 11, version 2 and version 3 record contains a header followed by five triplets that are used to locate the data that is associated with that triplet. A triplet has three 4-byte fields, which stand for the offset, the length, and the count.
The following table lists the data mapping of the SMF type 120, subtype 11, version 2 and version
3 record that is generated by the z/OS® Request Logging
feature, zosRequestLogging-1.0
.
Field | Description | Offset (hex) | Offset (dec) | Length (dec) | Format | Comments |
---|---|---|---|---|---|---|
Standard Header | ||||||
SM120LEN | Record Length | 0 | 0 | 2 | Numeric | Length of the record, including this field |
SM120SEG | Segment Descriptor | 2 | 2 | 2 | Numeric | Segment Descriptor provided by SMF |
SM120FLG | System Indicator | 4 | 4 | 1 | Numeric | Flags (see the SMF header documentation) |
SM120RTY | Record Type (120) | 5 | 5 | 1 | Numeric | WebSphere SMF Record Type is 120 (decimal) |
SM120TME | Record Time | 6 | 6 | 4 | Numeric | Time since midnight, in hundredths of a second, record was moved into the SMF buffer. |
SM120DTE | Record Date | A | 10 | 4 | Numeric | Date when the record was moved into the SMF buffer, in the form 0cyydddF (where c is 0 for 19xx and 1 for 20xx, yy is the current year (0-99), ddd is the current day (1-366), and F is the sign). |
SM120SID | System Identification | E | 14 | 4 | Numeric | System identification (from the SID parameter) |
SM120SSI | Subsystem Identification | 12 | 18 | 4 | Numeric | Not used by WebSphere |
SM120STY | Record Subtype (11) | 16 | 22 | 2 | Numeric | Always 11 (decimal) for Liberty Request records |
SM120BAA | Version (3) | 18 | 24 | 4 | Numeric | Version of the SMF 120-11 record. Changed from Version (2) to Version (3) in 19.0.0.4. |
SM120BAB | Number of Triplets | 1C | 28 | 4 | Numeric | Count of the triplets which follow |
SM120BAC | Record Index | 20 | 32 | 4 | Numeric | If the whole record is split across multiple records, this is the index. Never happens for 120-11 records. |
SM120BAD | Total Number of Records | 24 | 36 | 4 | Numeric | If the whole record is split across multiple records, this is the total record count. Never happens for 120-11 records. |
SM120BAE | Continuation Token | 28 | 40 | 8 | Numeric | If the whole record is split across multiple records, this token will be the same across the parts. Never happens for 120-11 records. |
SM120BAF | Server Identification Section Offset | 30 | 48 | 4 | Numeric | The offset to the server identification section |
SM120BAG | Server Identification Section Length | 34 | 52 | 4 | Numeric | The length of the server identification section. |
SM120BAH | Server Identification Section Count | 38 | 56 | 4 | Numeric | The number of server identification sections (always one). |
SM120BAI | User Data Section Offset | 3C | 60 | 4 | Numeric | The offset to the user data sections. |
SM120BAJ | User Data Section Length | 40 | 64 | 4 | Numeric | The size of the user data section |
SM120BAK | User Data Section Count | 44 | 68 | 4 | Numeric | The count of user data sections |
SM120BBG | Request Information Section Offset | 48 | 72 | 4 | Numeric | The offset to the request information section. |
SM120BBH | Request Information Section Length | 4C | 76 | 4 | Numeric | The length of the request information section. |
SM120BBI | Request Information Section Count | 50 | 80 | 4 | Numeric | The count of request information sections (always one). |
SM120BBJ | Classification Data Section Offset | 54 | 84 | 4 | Numeric | The offset to the classification data sections. |
SM120BBK | Classification Data Section Length | 58 | 88 | 4 | Numeric | The length of the classification data section. |
SM120BBL | Classification Data Section Count | 5C | 92 | 4 | Numeric | The count of classification data sections. |
SM120BCO | Network Data Section Offset | 60 | 96 | 4 | Numeric | The offset to the network data section. |
SM120BCP | Network Data Section Length | 64 | 100 | 4 | Numeric | The length of the network data section. |
SM120BCQ | Network Data Section Count | 68 | 104 | 4 | Numeric | The count of network data sections (always one). |
Server Identification | One instance per record | |||||
SM120BAL | Version (3) | 0 | 0 | 4 | Numeric | Version of the server identification section. Changed from Version (2) to Version (3) in 19.0.0.4. |
SM120BAM | System Name (CVTSNAME) | 4 | 4 | 8 | Character | z/OS system name from CVTSNAME. Hex offset value corrected in 19.0.0.4. |
SM120BAN | Sysplex Name (ECVTSPLX) | C | 12 | 8 | Character | The z/OS sysplex name from ECVTSPLX. Hex offset value corrected in 19.0.0.4. |
SM120BAO | Server Job ID (JSABJBID) | 14 | 20 | 8 | Character | The server JES job ID from JSABJBID. Hex offset value corrected in 19.0.0.4. |
SM120BAP | Server Job name (JSABJBNM) | 1C | 28 | 8 | Character | The server JES job name from JSABJBNM. Hex offset value corrected in 19.0.0.4. |
SM120BAQ | Server Stoken (ASSBSTKN) | 24 | 36 | 8 | Numeric | The address space token (stoken) of the server address space. Hex offset value corrected in 19.0.0.4. |
SM120BCW | Server ASID (ASCBASID) | 2C | 44 | 4 | Numeric | The address space id (ASID) of the server address space. Hex offset value corrected in 19.0.0.4. |
SM120BCX | Server Config Directory | 30 | 48 | 128 | Character | The path to where server.xml for the server is located. May be truncated to
128 characters (preserving the end of the path). Hex offset value corrected in 19.0.0.4. |
SM120BCY | Server Product Version | B0 | 176 | 16 | Character | Code level of the server. Hex offset value corrected in 19.0.0.4. |
SM120BCZ | Server PID | C0 | 192 | 4 | Numeric | USS Process ID for the server. Hex offset value corrected in 19.0.0.4. |
SM120BDJ | Flag Word | C4 | 196 | 4 | Binary | Added in 19.0.0.4. This flag word is present when SM120BAL is >=3. It contains the following flags:
|
User Data | Up to 5 instances per record | |||||
SM120BAR | Version (2) | 0 | 0 | 4 | Numeric | Version of the user data section |
SM120BAS | User Data Tag | 4 | 4 | 4 | Numeric | A tag to identify the user data. The value is supplied by the caller of the API that sets the user data (e.g. your application). |
SM120BAT | User Data Length | 8 | 8 | 4 | Numeric | Length of the user data set into the user data field. |
SM120BDH | User Data | C | 12 | 2048 | ? | The actual user data set by the application. |
Request Information | One instance per record | |||||
SM120BBP | Version | 0 | 0 | 4 | Numeric | The version of the request information section |
SM120BBQ | TCB Address (PSATOLD) | 4 | 4 | 4 | Numeric | The TCB address of the thread that dispatched the request. |
SM120BBR | Ttoken (STCBTTKN) | 8 | 8 | 16 | Numeric | The z/OS TTOKEN of the thread that dispatched the request. |
SM120BBS | USS Thread ID | 18 | 24 | 8 | Numeric | From pthread_self() |
SM120BBT | System GMT offset (CVTLDTO) | 20 | 32 | 8 | Numeric | The GMT offset needed to get local time from GMT timestamps. |
SM120BBU | Java™ Thread ID | 28 | 40 | 8 | Numeric | From java method Thread.currentThread().getId() |
SM120BBV | Request ID | 30 | 48 | 23 | Numeric | A theoretically unique identifier for the request. |
Reserved byte | 47 | 71 | 1 | Reserved | ||
SM120BBW | Request Start Timestamp | 48 | 72 | 8 | Numeric | GMT timestamp, in STCK format, when the request started dispatch |
SM120BBX | Request End Timestamp | 50 | 80 | 8 | Numeric | GMT timestamp, in STCK format, when the request ended dispatch |
SM120BBY | WLM transaction class | 58 | 88 | 8 | EBCDIC | If classified with WLM, this is the transaction class string used for classification. |
SM120BBZ | Timeused CPU at start | 60 | 96 | 16 | Numeric | From the STORADR parameter of the z/OS TIMEUSED macro
at the start of the request. See the TIMEUSED macro for specifics. When When From the TIMEUSED documentation: Words 0-1 = Total time. Words 2-3 = Time on CP when TIME_ON_CP=YES. |
SM120BCA | Timeused CPU at end | 70 | 112 | 16 | Numeric | From the STORADR parameter of the z/OS TIMEUSED macro
at the end of the request. See the TIMEUSED macro for specifics. When When From the TIMEUSED documentation: Words 0-1 = Total time. Words 2-3 = Time on CP when TIME_ON_CP=YES. |
SM120BCB | WLM enclave delete CPU | 80 | 128 | 8 | Numeric | WLM enclave delete CPU value returned in the IWM4EDEL CPUTIME parameter. |
SM120BCC | WLM enclave delete CPU service | 88 | 136 | 8 | Numeric | WLM enclave delete CPU service value returned in the IWM4EDEL CPUSERVICE parameter. |
SM120BCD | WLM enclave delete zAAP CPU | 90 | 144 | 8 | Numeric | WLM enclave delete zAAP CPU value returned in the IWM4EDEL ZAAPTIME parameter. |
SM120BCE | WLM enclave delete zAAP service | 98 | 152 | 8 | Numeric | WLM enclave delete zAAP service value returned in the IWM4EDEL ZAAPSERVICE parameter. |
SM120BCF | WLM enclave delete zIIP CPU | A0 | 160 | 8 | Numeric | WLM enclave delete zIIP CPU value returned in the IWM4EDEL ZIIPTIME parameter. |
SM120BCG | WLM enclave delete zIIP service | A8 | 168 | 8 | Numeric | WLM enclave delete zIIP service value returned in the IWM4EDEL ZIIPSERVICE parameter. |
SM120BCH | WLM enclave delete zAAP normalization factor | B0 | 176 | 4 | Numeric | WLM enclave delete zAAP normalization factor. value returned in the IWM4EDEL ZAAPNFACTOR parameter. |
SM120BCI | WLM enclave delete response time ratio | B4 | 180 | 4 | Numeric | WLM enclave delete response time ratio value returned in the IWM4EDEL RESPTIME_RATIO parameter. |
SM120BCJ | WLM enclave token | B8 | 184 | 8 | Numeric | The token returned by WLM to represent the enclave used for this request. |
SM120BCK | User Name | C0 | 192 | 64 | EBCDIC | The received userid. |
SM120BCL | Mapped User Name | 100 | 256 | 8 | EBCDIC | If the received ID was mapped to a SAF identity, that user id is here. |
SM120BCM | Length of URI | 108 | 264 | 4 | Numeric | The length of the URI for the request. |
SM120BCN | URI | 10C | 268 | 128 | EBCDIC | The actual URI for the request. |
Classification | Up to three instances per record | |||||
SM120BDA | Version | 0 | 0 | 4 | Numeric | The version for the Classification section |
SM120BDB | Type | 4 | 4 | 4 | Numeric | 6=URI, 7=target host, 8=target port |
SM120BDC | Length of data | 8 | 8 | 4 | Numeric | The length of the classification string |
SM120BDD | Classification data | C | 12 | 128 | EBCDIC | The classification string |
Network Data | One instance per record | |||||
SM120BCR | Version | 0 | 0 | 4 | Numeric | The version of the network data section |
Reserved byte | 4 | 4 | 8 | Reserved | ||
SM120BDI | Response Bytes | C | 12 | 8 | Numeric | Number of bytes in the response to the request. |
SM120BCS | Target Port | 14 | 20 | 4 | Numeric | The target port of the request. |
SM120BCT | Remote Port | 18 | 24 | 4 | Numeric | The origin port for the request. |
SM120BCU | Length of Remote Address | 1C | 28 | 4 | Numeric | The length of the origin address string. |
SM120BCV | Remote Address | 20 | 32 | 40 | EBCDIC | The origin address string. |