COBOL Manual for TNS/E Programs (H06.08+, J06.03+)
01 OFFS.
03 OFFICE-INFO OCCURS 10 TIMES.
05 DISTRICT PICTURE 99.
05 SQUARE-FEET PICTURE S9(5).
Understanding and Controlling the Compiler Listing
By default, the compiler produces a listing that includes:
• Compilation Banner
• Source Program Listing
• Compilation Summary
With compiler directives, you can include one or more of these in the compiler listing:
• Symbol Table Listing
• Symbolic Code Listing
Compiler directives also allow you to suppress parts of the compiler listing (see Table 107).
The minimum compiler listing, produced when you compile a program with the SUPPRESS directive,
includes only a banner, any diagnostics and the source lines that caused them, and a summary.
When you compile several separately compiled programs at once (each of which could include
nested programs), the listing includes one banner and one summary. After the banner, the listing
includes a source program listing, symbol table, and symbolic code listing for each program that
requested them (by default or directive).
In Table 107, the compiler listing parts are in the order in which they appear in the compiler listing.
Table 107 Compiler Listing Parts and the Directives That Control Them
Directives That Suppress PartDirective That Lists PartCompiler Listing Part
NoneNone—always listedCompilation banner
LIST (default)Source program listing
• NOLIST
• SUPPRESS
SHOWCOPY (default)COPY statements
• NOSHOWCOPY
• NOLIST
• SUPPRESS
NOWARN for warning messages, none
for error and failure messages
WARN (default)Diagnostic messages*
MAPSymbol table
• NOMAP
• NOLIST
• SUPPRESS
INNERLISTSymbolic code listing
• NOINNERLIST
• NOLIST
• SUPPRESS
NoneNone—always listedCompilation summary
*Included in source program listing
For further information about any compiler listing part, see the appropriate following topic. The
topics are in the order that they appear in Table 107.
Understanding and Controlling the Compiler Listing 769










