LIST
Use the LIST
compiler option to produce
a listing of the assembler-language expansion of your source code.
Default is: NOLIST
Abbreviations are: None
These items will also be written to the output listing:
- Constant area
- Program prolog areas (PPA1, PPA2, PPA3, PPA4)
- Time stamp, compiler version, and build level information
- Compiler options and program information
- Base locator table
- External symbols dictionary
- Initial heap storage maps
- Stack storage maps
The output is generated if:
- You specify the
COMPILE
option, or theNOCOMPILE
(x) option is in effect and an error of level x or higher does not occur. - You do not specify the
OFFSET
option.
If you want to limit the assembler listing
output, use *CONTROL
(or *CBL
) LIST
or NOLIST
statements
in the PROCEDURE DIVISION
. Source statements that
follow a *CONTROL NOLIST
statement are not included
in the listing until a subsequent *CONTROL LIST
statement
switches the output back to normal LIST
format.
Related references
Conflicting compiler options
*CONTROL (*CBL) statement (Enterprise COBOL for z/OS® Language Reference)
Conflicting compiler options
*CONTROL (*CBL) statement (Enterprise COBOL for z/OS® Language Reference)