SMF layout

The header section for SMF record type 122, subtype 2, holds a standard SMF header followed by fields that reference the data section. Character strings in the header are in EBCDIC and character strings in the DBB data section are in UTF-8.

Header section

See standard header for more information. Most of the information is filled in by the system when the record is written.

Offsets Type/Value Length Name Description
0 (x0) Structure 24 SMFHDR ** Standard SMF header **
0 (x0) Structure 4 SMFRDW ** SMF Record descriptor word **
0 (x0) Unsigned 2 SMFLEN Record length. This field and the next field (total of 4 bytes) form the record descriptor word (RDW), which is removed when the record is dumped.
2 (x2) Unsigned 2 SMFSEG Spanned segment descriptor. This field and the previous field (total of 4 bytes) form the record descriptor word (RDW), which is removed when the record is dumped.
4 (x4) Bitstring 1 SMFFLG SMF header flag byte.
.1.. .... SMSSTV (x40) Subtypes are being used.
5 (x5) Unsigned 1 SMFRTY Record type: 122 (x7A)
6 (x6) Unsigned 4 SMFTME Time since midnight, in hundredths of a second, that has elapsed since the record was moved into the SMF buffer (format: HHMMSSth).
10 (xA) Packed 4 SMFDAT Date when the record was moved into the SMF buffer. In the form of 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.
14 (xE) EBCDIC 4 SMFSID System identification (from the SMF SID parameter).
18 (x12) EBCDIC 4 SMFWID Subsystem ID.
22 (x16) Unsigned 2 SMFSTP Record subtype: 2 (x2)
24 (x18)
24 (x18) Structure 12 SMF122t2h_Head ** SMF type 122 subtype 2 specific header **
24 (x18) 4 -- header description
24 (x18) Unsigned 2 SMF122t2h_Cnt Number of data section triplets. It is set to the number of data section identifier blocks that follow.
26 (x1A) Unsigned 2
28 (x1C) Structure 8 -- triplet for data sections
28 (x1C) Unsigned 4 SMF122t2h_S1Offset Section offset. The offset, from the start of the record, of this section block.
32 (x20) Unsigned 2 SMF122t2h_S1Len Section length. It is set to the size of SMF122t1s1_Section.
34 (x22) Unsigned 2 SMF122t2h_S1Cnt Number of sections (x1)

Beginning with DBB 3.0.1, the data sections of the DBB SMF record have changed. If you migrate from earlier versions to DBB 3.0.1, you might need to read both versions of the SMF record. If using the DBB SMF APIs as demonstrated in the ReadSMFRecords sample, the APIs will handle both SMF record formats. For those reading the records themselves, note that the old format has only 1 triplet and the new format has multiple triplets. The same information is available for both.

For DBB 3.0.0 and earlier, there is only one data section or triplet and its layout is described in the SMF data section layout for DBB 3.0.0 and earlier.

For DBB 3.0.1 and later, there are multiple data sections or triplets and its layout is described in the SMF data sections layout for DBB 3.0.1 and later.