When the NOMETAL (the default) and DEBUG compiler options are in effect, the compiler either generates debugging information as a separate binary file in DWARF format, or embeds debugging information within the object file in ISD format. When the METAL and DEBUG compiler options are specified, debugging information in both ADATA and DWARF format can be generated. The ADATA debug format allows debugging of the generated HLASM source. The DWARF debug format allows debugging of the original C source.
The cataloged CDAASMC JCL procedure invokes CDAHLASM.
The Interactive Debug Facility (IDF) is a symbolic debugging tool for assembly language programs. It uses information from the load module file to determine the locations of a program's control sections and external symbols.
The Linkage Editor TEST option increases the size of the load module file, so do not use it for production modules.
The ASMLANGX utility extracts source level information from the ADATA debugging information. The output is an extract file. Although you can create extract files as sequential files, they are typically stored in a PDS.
RECFM(VB) LRECL(1562) BLKSIZE(27998)
//ASMLANGX EXEC PGM=ASMLANGX,REGION=4096K,
// PARM='member (ASM LOUD ERROR' 1
//SYSADATA DD DISP=SHR,DSN=hlq..SYSADATA 2
//ASMLANGX DD DISP=OLD,DSN=hlq..ASMLANGX 3