SMF log records for ODBM accounting
The SMF record that is reserved for ODBM accounting is type 29 (x'1D') with subtype of 1. The SMF log record consists of three main sections: the SMF header, the BPE header, and the ODBM accounting information - all contained in a single record instance.
The BPESMF29 macro contains the DSECTs for both the SMF type 29 and the BPE headers. Field smf29bhs in the SMF header contains the offset from the start of the SMF 29 record to the BPE header.
The CSLDSMF macro contains the DSECT for the ODBM accounting information (record subtype 1). Field smf29sts in the SMF header contains the offset from the start of the SMF 29 record to the ODBM accounting information section.
These tables show the breakdown of each section.
| Name | Length | Type | Description |
|---|---|---|---|
| smf29len | 2 | binary | Record length |
| smf29seg | 2 | binary | Segment descriptor |
| smf29flg | 1 | binary | System indicator flag:
|
| smf229rty | 1 | binary | Record type (29 decimal or x'1D') |
| smf29tme | 4 | binary | Time since midnight in hundredths of a second |
| smf29dte | 4 | packed | Date (packed decimal) when the record was moved into the SMF buffer |
| smf29sid | 4 | EBCDIC | System identification |
| smf29ssi | 4 | EBCDIC | Subsystem identification |
| smf29sty | 2 | binary | Record subtype |
| smf29trn | 2 | binary | Number of triplets in this record |
| * | 2 | Reserved | |
| smf29bhs | 4 | binary | Offset to BPE header from start of record |
| smf29bhl | 2 | binary | Length of BPE header |
| smf29bhn | 2 | binary | Number of BPE header |
| smf29sts | 4 | binary | Offset to subtype specific section from start of record |
| smf29stl | 2 | binary | Length of subtype specific section |
| smf29stn | 2 | binary | Number of subtype specific section |
| Name | Length | Type | Description |
|---|---|---|---|
| smf29bh_fieldFlags | 4 | binary | Field flags |
| smf29bh_asType | 4 | EBCDIC | Address space type that wrote this record |
| smf29bh_jobName | 8 | EBCDIC | Job or started task name |
| smf29bh_asName | 8 | EBCDIC |
|
| smf29bh_crType | 1 | binary | Associated control region type:
|
| smf29bh_flag1 | 1 | binary | Flag byte:
|
| * | 2 | Reserved | |
| smf29bh_asVersion | 3 | EBCDIC | Address space version number (binary) |
| smf29bh_bpeVersion | 3 | EBCDIC | BPE version number or 0 (binary) |
| smf29bh_asid | 2 | binary | ASID of the address space that wrote this record |
| * | 4 | Reserved | |
| smf29bh_startStck | 8 | EBCDIC |
|
| smf29bh_stck | 8 | EBCDIC | Current STCK when this record was built |
| Name | Length | Type | Description |
|---|---|---|---|
| smf29sty1_pver | 4 | binary | Version number |
| smf29sty1_func | 4 | binary | Function number |
| smf29sty1_aliasName | 4 | EBCDIC | Alias name (if available) |
| smf29sty1_plexName | 8 | EBCDIC | IMSplex name |
| smf29sty1_psbName | 8 | EBCDIC | PSB name (if available) |
| smf29sty1_apsbToken | 16 | EBCDIC | APSB token Note: This token correlates to the
IMS user-defined token in the x'08' record.
|
| smf29sty1_apsbSTCK | 8 | EBCDIC | APSB STCK |
| smf29sty1_clientidlen | 4 | binary | Client ID length |
| smf29sty1_clientidoff | 4 | binary | Offset to client ID name from start of ODBM subtype record (if available) |
| smf29sty1_useridlen | 4 | binary | User ID length |
| smf29sty1_useridoff | 4 | binary | Offset to user ID name from start of ODBM subtype record (if available) |
| smf29sty1_racflen | 4 | binary | RACF ID length |
| smf29sty1_racfoff | 4 | binary | Offset to RACF ID name from start of ODBM subtype record (if available) |
| smf29sty1_UOWtime | 8 | EBCDIC | Total UOW time (in STCK units) |
| smf29sty1_zIIPtime | 8 | EBCDIC | Total zIIP time (in STCK units) |
| smf29sty1_numDLI | 4 | binary | Total number of DLI calls |
| smf29sty1_numSQL | 4 | binary | Total number of executable SQL commands |