System ending (EOD) record

An EOD record is recorded on the logrec data set when either of the following occur:

For a normal end, the record consists of the 24-byte header. For an abnormal end, the header is followed by fields containing data related to the error.

Table 1. Format of the EOD record
Offset Size (bytes) alignment (bits) Field name Description
Dec Hex
0 (0) 1 CLASRC Class/Source:
    1... ....   EOD record; type=X'80'.
    1... ...1   System end (non-restartable); type=X'81'.
    1... .1..   EOD from IOS (restartable wait state); type=X'84'.
1 (1) 1 OPSYS System/Release level:
    100. ....   OS/VS2.
    bits 3-7    
    0-1F   Release level 0-31.
2 (2) 4 SW1 Record switches:
    Byte 0    
    1... ....   More records follow.
    0... ....   Last record.
    .1.. ....   Time-of-day (TOD) clock instruction issued. Used in conjunction with date and time values at displacements 8 and 12.
    ..1. ....   Record truncated. (Not used for EOD record.)
    ...1 ....   Record created by MVS/SP Version 2, 3, or 4.
    .... 1...   TIME macro used.
    .... .xxx   Reserved.
    Bytes 1 and 2   Not used for EOD record.
    Byte 3   Incremental release number (alphanumeric) of operating system.
6 (6) 2   Not used for EOD record.
8 (8) 4 DATE System date of condition.
12 (C) 4 TIME System time of condition.
16 (10) 1 VERNO Machine version code.
17 (11) 3 CPUSER Central processor serial number.
20 (14) 2 CPUMODEL Central processor machine model number.
22 (16) 2 MCELLNG Reserved.
        END OF STANDARD HEADER
24 (18) 40   EOD extension (see note).
24 (18) 4   Length of user data plus 8.
28 (1C) 4   Wait state code.
32 (20) 32   User data.
        Note: If the wait state code is X'110', X'111' or X'112', hot I/O recovery processing writes this ending record. The 32-byte user data field contains the SCD entry for the channel with the “hot” condition. See z/OS® MVS™ Data Areas in http://www.ibm.com/systems/z/os/zos/bkserv/ for a detailed description of the SCD.

For other wait state codes that use the EOD extension, the length of the data field and the extension may vary.