SMF Type 5 Record
This table shows the record layout for type 5 SMF records (Job Termination).
Also read our tips for working with SMF type 5 records.
Spectrum SMF Writer is the 4GL report writer for SMF files on z/OS and VSE systems.
Download your free trial now!
Jump to the Spectrum SMF Writer definitions for SMF type 5 records.
| Offset (Dec.) | Offset (Hex) | Name | Length | Format | Description |
| 0 | 0 | SMF5LEN | 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” on page 13-1 for a detailed description.
|
| 2 | 2 | SMF5SEG | 2 | binary | Segment descriptor (see record length field).
|
| 4 | 4 | SMF5FLG | 1 | binary | System indicator: Bit Meaning When Set 0-2 Reserved 3-6 Version indicators* 7 Reserved.*See “Standard SMF Record Header” on page 13-1 for a detailed description.
|
| 5 | 5 | SMF5RTY | 1 | binary | Record type 5 (X'05').
|
| 6 | 6 | SMF5TME | 4 | binary | Time since midnight, in hundredths of a second, that the record was moved into the SMF buffer.
|
| 10 | A | SMF5DTE | 4 | packed | Date when the record is passed to the SMF writer, in the form 0cyydddF. See “Standard SMF Record Header” on page 13-1 for a detailed description. This is the date that the job terminated.
|
| 14 | E | SMF5SID | 4 | EBCDIC | System identification (from the SID parameter).
|
| 18 | 12 | SMF5JBN | 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 | SMF5RST | 4 | binary | Time since midnight, in hundredths of a second, that the reader recognized the JOB card (for this job).
|
| 30 | 1E | SMF5RSD | 4 | packed | Date when the reader recognized the JOB card (for this job), in the form 0cyydddF. See “Standard SMF Record Header” on page 13-1 for a detailed description.
|
| 34 | 22 | SMF5UIF | 8 | EBCDIC | User-defined identification field (taken from common exit parameter area, not from USER=parameter on job statement).
|
| 42 | 2A | SMF5NST | 1 | binary | Number of steps in the job.
|
| 43 | 2B | SMF5JIT | 4 | binary | Time since midnight, in hundredths of a second, that the initiator selected the job.
|
| 47 | 2F | SMF5JID | 4 | packed | Date when the initiator selected the job, in the form 0cyydddF. See “Standard SMF Record Header” on page 13-1 for a detailed description.
|
| 51 | 33 | SMF5NCI | 4 | binary | Number of card-image records in DD DATA and DD* data sets read by the reader for the job.
|
| 55 | 37 | SMF5JCC | 2 | binary | Job completion code: X'0ccc' indicates system ABEND in the last job step where ccc is the system ABEND code (see z/OS MVS System Codes). X'8ccc' indicates user ABEND in the last 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: (see note) 1. The last 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 0.Note: When a step in a multi-step job terminates abnormally, the subsequent steps, whether executed or flushed, do not propagate the step abend code for processing this record. The code appears in the job termination record (type 4). In this case, the field - SMF5JCC, can contain X'nnnn'. If an abend occurred in the job, the job termination indicator (bit 6 in the SMFJBTI field) is set to 1. Use this field in conjunction with the job termination indicator field, SMFJBTI.
|
| 57 | 39 | SMF5JPTY | 1 | binary | Job selection priority. This field normally equals the user-assigned priority of zero to 13, but if the job fails while being scheduled, this field equals 14 (taken from the PRTY parameter on the JOB card). If no value is specified for the PRTY parameter on the JOB card, this field contains: v For JES3, the default priority specified on the JES3 STANDARDS initialization card v For JES2, a zero.Note that JES2 does not use the priority value reported in this field.
|
| 58 | 3A | SMF5RSTT | 4 | binary | Time since midnight, in hundredths of a second, that the reader recognized the end of the job.
|
| 62 | 3E | SMF5RSTD | 4 | packed | Date when the reader recognized the end of the job, in the form 0cyydddF. See “Standard SMF Record Header” on page 13-1 for a detailed description.
|
| 66 | 42 | SMF5JBTI | 1 | binary | 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 (step exit only) 5 Reserved 6 If 0, normal completion (if 1, then ABEND). 7 Reserved.
|
| 67 | 43 | SMF5MCI | 1 | -- | Reserved.
|
| 68 | 44 | SMF5TRAN | 4 | binary | Job transaction residency time, in 1024-microsecond units. That is the total amount of time the transaction was in central storage.
|
| 72 | 48 | SMF5CKRE | 1 | -- | Reserved.
|
| 73 | 49 | SMF5RDCL | 1 | binary | Reader device class. (This field is not filled in for jobs submitted by way of an internal reader.)
|
| 74 | 4A | SMF5RUTY | 1 | binary | Reader unit type. (This field is not filled in for jobs submitted via an internal reader.)
|
| 75 | 4B | SMF5JICL | 1 | EBCDIC | Job input class (taken from JOB card; default equals ‘A’).
|
| 76 | 4C | SMF5SPK | 1 | binary | Storage protect key, in the form xxxx0000 where xxxx is the key.
|
| 77 | 4D | SMF5SRBT | 3 | binary | Job CPU time under SRBs, in hundredths of a second. This field includes the CPU time for various supervisory routines that are dispatched via SRBs: locking routines, page resolution, swap control, cross-memory communications (WAIT, POST, I/0 POST), and TQE scheduling.
|
| 80 | 50 | SMF5TJS | 4 | binary | Job service, in service units.
|
| 84 | 54 | SMF5TTAT | 4 | binary | Job transaction active time, in 1024-microsecond units.
|
| 88 | 58 | SMF5RV2 | 4 | -- | Reserved.
|
| 92 | 5C | SMF5PGNO | 2 | binary | Reserved.
|
| 94 | 5E | SMF5RV3 | 2 | -- | Reserved.
|
| 96 | 60 | SMF5TLEN | 1 | binary | Length of rest of the fixed portion of the record.
|
| 97 | 61 | SMF5PRGN | 20 | EBCDIC | Programmer’s name.
|
| 117 | 75 | SMF5JCPU | 3 | binary | Reserved.
|
| 120 | 78 | SMF5ACTF | 1 | binary | Number of accounting fields.
|
| 121 | 79 | SMF5JSAF | variable | EBCDIC | Accounting fields. Each entry for an accounting field contains the length of the field (one byte, binary) followed by the field (EBCDIC). A zero indicates an omitted field.
|
| 0 | 0 | SMF5CPUS | 4 | binary | Job CPU service, in service units.
|
| 4 | 4 | SMF5IOCS | 4 | binary | Job I/O service in service units.
|
| 8 | 8 | SMF5MSOS | 4 | binary | Job main storage service, in service units.
|
| 12 | C | SMF5SRBS | 4 | binary | Job SRB service, in service units.
|
| 16 | 10 | SMF5RSV1 | 8 | Reserved. | |
The above table is a slightly modified version of the description provided by IBM in their "MVS Systems Management Facilities (SMF)" manual.
 
|
File Definition for Type 5 SMF Records Job Termination
******************************************************************** * SPECTRUM SMF WRITER -- FILE DEFINITION STATEMENTS * * SMF05 - SMF TYPE 5 RECORD "JOB TERMINATION" * ******************************************************************** |
 
 
SMF Type 0 |
SMF Type 2 |
SMF Type 3 |
SMF Type 4 |
SMF Type 5 |
SMF Type 14 |
SMF Type 15 |
SMF Type 30






