The associated data file can also be useful for assemblies that have macro processing only (SYSGENs for example). The printing of the generated assembler source is not printed in the listing, but the information is available in the associated data file. Figure 60 shows part of the listing of an assembler program that only includes a macro instruction. The statements generated by the macro instruction (statements 9 through 11) are not printed on the listing. If this program were assembled with the ADATA option, the records produced in the associated data file would be in the sequence shown below.
Loc Object Code Addr1 Addr2 Stmt Source Statement HLASM R6.0 2008/07/11 17.48
1 print nogen 00001000
2 macro 00002000
3 &NAME testhla &job 00003000
4 punch '//&job JOB' 00004000
5 punch '//STEP1 EXEC PGM=ABC' 00005000
6 punch '//DDNAME1 DD DSN=DSN.&job.,DISP=SHR' 00006000
7 mend 00007000
8 TESTHLA TESTJOB 00008000
12 END 00009000
[ Top of Page | Previous Page | Next Page | Contents | Index ]