Common header section

The table below shows the format of the header section that is common for all record types. For MVS and VSE, each record is preceded by a 4-byte RDW (record-descriptor word) that is normally used only by access methods and stripped off by download utilities.

Table 1. SYSADATA common header section
Field Size Description
Language code XL1
16
High Level Assembler
17
COBOL on all platforms
40
PL/I on supported platforms
Record type HL2 The record type, which can be any of the following ones:
X'0000'
Job Identification record1
X'0001'
ADATA Identification record
X'0002'
Compilation unit start/end record
X'0010'
Options record1
X'0020'
External Symbol record
X'0024'
Parse Tree record
X'0030'
Token record
X'0032'
Source Error record
X'0038'
Source record
X'0039'
COPY REPLACING record
X'0042'
Symbol record
X'0044'
Symbol Cross-Reference record
X'0046'
Nested Program record
X'0060'
Library record
X'0090'
Statistics record1
X'0120'
EVENTS record
Associated data architecture level XL1
3
Definition level for the header structure
Flag XL1
.... ..1.
ADATA record integers are in little-endian (Intel) format
.... ...1
This record is continued in the next record
1111 11..
Reserved for future use
Associated data record edition level XL1 Used to indicate a new format for a specific record type, usually 0
Reserved CL4 Reserved for future use
Associated data field length HL2 The length in bytes of the data following the header
  1. When a batch compilation (sequence of programs) is run with the ADATA option, there will be multiple Job Identification, Options, and Statistics records for each compilation.

The mapping of the 12-byte header does not include the area used for the variable-length record-descriptor word required by the access method on MVS and VSE.