The file contains records classified into different record types. Each type of record provides information about the assembler language program being assembled. Each record consists of two parts:
The header section contains, among other items, the record code which identifies the type of record.
The record types, and their contents, written to the associated data file are:
The time stamp is represented as Universal Time (UT) with the low-order bit representing 1 microsecond.
When there are multiple assembler programs in the input file, there is a START and END record for each program assembled.
There is one Source Analysis record in the file for each source record which would appear in the listing as if PRINT ON,GEN was active. This includes those source records generated by macro instructions, or included by COPY instructions. A Source Analysis record is also produced for TITLE statements. The FOLD assembler option does not cause the source in the Source Analysis record to be converted to uppercase.
The Source Analysis records appear in the sequence they would appear in the listing. Conditional assembly statements might cause the source statements to be skipped or the sequence of the records to be altered.
All Source Error records follow the Source Analysis record to which they apply.
If a source program statement contains one of the above, then a DC/DS record is written following the Source Analysis record.
If there is an error in the DC, DS, CXD, DXD, CCW, CCW0, or CCW1 instruction, the DC/DS record is not produced.
If the DC statement has a duplication factor greater than 1, and at least one of the operand values has a reference to the current location counter (*), then a DC extension record (X'0035') is generated.
If a source program statement causes machine instructions to be generated, then a Machine Instruction record is written following the source record. If there is an error in the machine instruction, the Machine Instruction record follows the Source Error record.
There is one Symbol record for each symbol defined in the program, including literals.
All Symbol and Literal Cross Reference records follow the Symbol record to which they apply.
Figure 59 shows part of the listing of an assembler program. If this assembler program were assembled with the ADATA option, the records produced in the associated data file would be in the sequence shown below Figure 59.
Loc Object Code Addr1 Addr2 Stmt Source Statement HLASM R6.0 2008/07/11 17.48
00000 0001E 1 CSECTNAM CSECT FIG00010
000000 90EC D00C 0000C 2 STM 14,12,12(13) FIG00020
R:F 00000 3 USING CSECTNAM,15 FIG00030
000004 0000 0000 00000 4 A 2,FIELD3 FIG00040
** ASMA044E Undefined symbol - FIELD3
000008 98EC D00C 0000C 5 LM 14,12,12(13) FIG00050
00000C 07FE 6 BR 14 FIG00060
7 DROP 15 FIG00070
8 COPY ADATA FIG00080
00000E 9=FIELD1 DS CL8 ADA00010
000016 10=FIELD2 DS CL8 ADA00020
11 END FIG00090
[ Top of Page | Previous Page | Next Page | Contents | Index ]