SOURCE

SOURCE affects whether source statements are included in compiler listings.

Syntax

Read syntax diagramSkip visual syntax diagramSOURCE=*YESNO
Default
SOURCE=YES
YES
Indicates that you want a listing of the source statements in the compiler-generated output. This listing also includes any statements embedded by COPY. SOURCE=YES will result in the SOURCE(DEC) compiler option being in effect.
Note: You can specify SOURCE(HEX) as a compiler invocation option or in the PROCESS or CBL statement in your COBOL source program, but SOURCE=HEX cannot be specified as an installation default.
NO
Source statements do not appear in the output.

The SOURCE compiler option must be in effect at compile time if you want embedded messages in the source listing.