Error recording contents

The system creates records for every hardware or software failure and system condition that occurs and stores these records in the logrec data set or the logrec log stream. The records can contain two types of data that document failures and system conditions:
Note: A programmer can also build symptom records using the SYMRBLD macro and have those records written into the logrec data set or the logrec log stream using the SYMREC macro.

See z/OS MVS Programming: Assembler Services Reference IAR-XCT for information about the macros.

Each record is recorded in hexadecimal format as an undefined length record. Each record provides:
When taken as a whole, these records create a history of the system, which begins early in system initialization and ends when the system stops. These records contain:
These sections describe what is in the logrec data set:
This section describes what is in the logrec data set or the logrec log stream:

See z/OS MVS Diagnosis: Reference for the format of the header record, time stamp record, and logrec error records.