Rational Developer for System z
COBOL for Windows, Version 7.5, Programming Guide


LIST

Use the LIST compiler option to produce a listing of the assembler-language expansion of your source code.

LIST option syntax
Read syntax diagramSkip visual syntax diagram   .-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.

Assembler listing files: The number of and names of the resulting .asm files depend on the setting of the SEPOBJ option:

SEPOBJ
The file for the first program in the source file has the name of the source file. The files for all subsequent programs in the source file have the names of the corresponding PROGRAM-IDs.
NOSEPOBJ
The one file for all programs in the source file has the name of the source file.

related tasks
Getting listings

related references
*CONTROL (*CBL) statement (COBOL for Windows Language Reference)


Terms of use | Feedback

Copyright IBM Corporation 1996, 2008.
This information center is powered by Eclipse technology. (http://www.eclipse.org)