Use the LIST compiler option to produce a listing of the assembler-language expansion of your source code.
LIST option syntax .-NOLIST-. >>-+--------+-------------------------------------------------->< '-LIST---'
Default is: NOLIST
Abbreviations are: None
These items will also be written to the output listing:
The output is generated if:
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 tasks
Getting listings
related references
Conflicting compiler options
*CONTROL (*CBL) statement (Enterprise COBOL Language Reference)