Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Option for compiler listing output

–P “(listing, ...)”

This option controls which listings are generated by the compiler.
This option is mapped internally to COMOPT SYSLIST=(listing,...). The COMOPT SYSLIST should not therefore be passed with -C.
The listing argument takes the form of a list of any of the following values (as with COMOPT SYSLIST in BS2000):

OPTIONS
NOOPTIONS
SOURCE
NOSOURCE
MAP
NOMAP
OBJECT
NOOBJECT
DIAG
NODIAG
XREF
NOXREF
ALL
NO

By default (NO), no compiler listings are generated.

The compiler writes listings requested with the -P option to a listing file named basename.lst, where basename is the name of the source file without its directory components and without the .cob or .cbl extension. The listing file is stored in the current directory.

Example 14-4

-P "(ALL,NOXREF)"