Header/Self-defining Section

This section contains the common SMF record header fields and, if applicable, the triplet fields (offset/length/number) that locate the other sections on the record.

Offsets Name Length Format Description
0 0 SMF4LEN 2 binary Record length. This field and the next field (total of four bytes) form the RDW (record descriptor word). See Standard SMF record header for a detailed description.
2 2 SMF4SEG 2 binary Segment descriptor (see record length field).
4 4 SMF4FLG 1 binary System indicator:
Bit
Meaning when set
0-2
Reserved
3-6
Version indicators (see Standard SMF record header for details.)
7
Reserved.
5 5 SMF4RTY 1 binary Record type 4 (X'04').
6 6 SMF4TME 4 binary Time since midnight, in hundredths of a second, that the record is passed to the SMF writer. This is the time when the step terminated.
10 A SMF4DTE 4 packed Date when the record is passed to the SMF writer, in the form 0cyydddF. See Standard SMF record header for a detailed description. This is the date when the step terminated.
14 E SMF4SID 4 EBCDIC System identification (from the SID parameter).
18 12 SMF4JBN 8 EBCDIC Job name. The job name, time, and date that the reader recognized the JOB card (for this job) constitute the job log identification, or transaction name (for APPC output).
26 1A SMF4RST 4 binary Time since midnight, in hundredths of a second, that the reader recognized the JOB card (for this job).
30 1E SMF4RSD 4 packed Date when the reader recognized the JOB card (for this job), in the form 0cyydddF. See Standard SMF record header for a detailed description.
34 22 SMF4UIF 8 EBCDIC User-defined identification field (taken from common exit parameter area, not from USER=parameter on job statement).
42 2A SMF4STN 1 binary Step number (first step=1, and so on).
43 2B SMF4SIT 4 binary Time since midnight, in hundredths of a second, that the initiator selected this step.
47 2F SMF4STID 4 packed Date when the initiator selected this step, in the form 0cyydddF. See Standard SMF record header for a detailed description.
51 33 SMF4NCI 4 binary Number of card-image records in DD DATA and DD* data sets read by the reader for the step.
55 37 SMF4SCC 2 binary Step completion code:

X'0ccc' indicates system ABEND in the job step where ccc is the system ABEND code. (See z/OS MVS System Codes.)

X'8ccc' indicates user ABEND in the job step where ccc is the user ABEND code.

X'nnnn' indicates normal completion where nnnn is the contents of the two low-order bytes in register 15 at termination.

X'0000' indicates either
  1. The job step was flushed (not processed) because of an error during allocation or in a preceding job step, or
  2. normal job completion with a return code of zero.

Use this field in conjunction with the step termination indicator field (offset 87).

57 39 SMF4PRTY 1 binary Address space dispatching priority (taken from DPRTY= parameter on EXEC card or the default APG value). For more information see z/OS MVS Initialization and Tuning Guide.
58 3A SMF4PGMN 8 EBCDIC Program name (taken from PGM= parameter on EXEC card). If a backward reference was used, then this field contains *.DD.
66 42 SMF4STMN 8 EBCDIC Step name (taken from name on EXEC card).
74 4A SMF4RSV5 2 binary Reserved. SMF4RSH0, formerly a two-byte field at this offset, has been increased to four bytes and moved to offset 82.
76 4C SMF4SYST 2 binary Largest amount of storage used from top of private area, in 1K units. This storage area includes the LSQA and SWA (subpools 229, 230, 236, 237, 249, and 253-255). If ADDRSPC=REAL is specified, this field equals the amount of storage used that was not from the contiguous central storage reserved for the program. See offsets 82 and 102. If storage was not allocated (job step was flushed), these fields equal zero.
78 4E SMF4HOST 2 binary Largest amount of storage from bottom of private area, in 1K units. This storage area includes subpools 0-127, 129–132, 244, 251 and 252. If ADDRSPC=REAL is specified, this field equals the amount of contiguous central storage that was used. See offsets 82 and 102.
80 50 SMF4RV1 2   Reserved.
82 52 SMF4RSH0 4 binary Region size established, in 1K units taken from the REGION= parameter in the JCL, and rounded up to a 4K boundary. If ADDRSPC=REAL is specified, this field equals the amount of contiguous central storage reserved for the program. If the region requested was greater than 16 megabytes, the region established resides above 16 megabytes, and this field will contain a minimum value of 32 megabytes.
86 56 SMF4SPK 1 binary Storage protect key, in the form xxxx0000 (where xxxx is the key).
87 57 SMF4STI 1 binary Step termination indicator
Bit
Meaning when set
0
Reserved
1
Canceled by exit IEFUJV
2
Canceled by exit IEFUJI
3
Canceled by exit IEFUSI
4
Canceled by exit IEFACTRT
5
Step is to be restarted
6
If 0, normal completion. If 1, ABEND. If step completion code (offset 55) equals 0322 or 0522, IEFUTL allowed the abend to occur. If step completion code equals 0722, IEFUSO allowed the abend to occur.
7
If 0, normal completion. If 1, step was flushed.
88 58 SMF4RV2 2   Reserved.
90 5A SMF4AST 4 binary Device allocation start time, in hundredths of a second.
94 5E SMF4PPST 4 binary Problem program start time, in hundredths of a second.
98 62 SMF4RV3 1 binary Reserved.
99 63 SMF4SRBT 3 binary Step CPU time under SRBs, in hundredths of a second. This field includes the CPU time for various supervisory routines that are dispatched from SRBs: locking routines, page resolution, swap control, cross-memory communications (WAIT, POST, I/O POST), and TQE scheduling.
102 66 SMF4RIN 2 binary Record indicator
Bit
Meaning when set
0-3
Reserved
4
Field SMF4SETM is not valid. An overflow condition occurs when the length of the value for the step CPU time under TCBs is greater than 3 bytes. In this case, the step CPU time under TCBs is not recorded in the type 4 record (SMF4SETM); The value is available in the type 30 record (SMF30CPT).

If your installation uses an accounting program that does not use the type 30 record to gather step CPU time, you must update that program. Only the type 30 record should be considered valid.

5
Device data not recorded. When the TIOT size is greater than 32K (more than 1635 DD statements), device data is not collected for the type 4 record. The data is available in the type 30 record.
6
EXCP count might be wrong. For more information on EXCP count, see EXCP Count.
7
If 0, storage is virtual. If 1, storage is central (real).
8-15
Reserved.
104 68 SMF4RLCT 2 binary Offset from the beginning of the record (SMF4FLG) header to the relocate section. The displacement depends upon the size of the accounting fields and the number of devices.
106 6A SMF4LENN 2 binary Length of device entry portion of record. Equals: (8 times the number of devices) + 2