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
Any *CONTROL (or *CBL) LIST or NOLIST statements that you code in the PROCEDURE DIVISION have no effect. They are treated as comments.
The assembler listing is written to a file that has the same name as the source program but has the suffix .wlist.
related tasks
Getting listings
related references
*CONTROL (*CBL) statement (COBOL for AIX Language Reference)