Rational Developer for System z
Enterprise COBOL for z/OS, Version 4.1, Programming Guide


SOURCE

Use SOURCE to get a listing of your source program. This listing will include any statements embedded by PROCESS or COPY statements.

Read syntax diagramSkip visual syntax diagram
SOURCE option syntax

   .-SOURCE---.   
>>-+----------+------------------------------------------------><
   '-NOSOURCE-'   

Default is: SOURCE

Abbreviations are: S|NOS

You must specify SOURCE if you want embedded messages in the source listing.

Use NOSOURCE to suppress the source code from the compiler output listing.

If you want to limit the SOURCE output, use *CONTROL SOURCE or NOSOURCE statements in your PROCEDURE DIVISION. Source statements that follow a *CONTROL NOSOURCE statement are not included in the listing until a subsequent *CONTROL SOURCE statement switches the output back to normal SOURCE format.

Example: MAP output

related references  
*CONTROL (*CBL) statement (Enterprise COBOL Language Reference)


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)