COBOL Manual for TNS/E Programs (H06.08+, J06.03+)

SYNTAX
UL
The COLUMNS directive can appear in a COPY library, but only once, before the first
SECTION directive
The SQL directive cannot appear in a source program
Categories of Compiler Directives
Compiler directives fall into these categories:
Table 76: Source Text Manipulation Directives (page 535)
Table 77: Input Format Control Directives (page 535)
Table 78: Listing Control Directives (page 535)
Table 79: Code-Generation Control Directives (page 536)
Table 80: Resolution and Binding Control Directives (page 538)
Table 81: Miscellaneous Control Directives (page 538)
Table 82: ENDUNIT Directive (page 539)
Table 76 Source Text Manipulation Directives
ActionDefaultDirective(s)
Marks beginning of portion of text in an EDIT file, which
compiler reads in response to COPY statements and
SOURCE directives
SECTION
Switches identification of source file in compiler listing on
or off
NOSHOWFILESHOWFILE and
NOSHOWFILE
Reads an entire EDIT file, or one or more sections of an
EDIT file
SOURCE*
Turns toggles onSETTOG*
Turns toggles offRESETTOG*
Enables or suppresses compilation of subsequent lines if a
specified toggle has been set; disables it otherwise
IF and IFNOT*
Marks end of toggle blockENDIF*
* Must be the last directive on its line.
Table 77 Input Format Control Directives
ActionDefaultDirective
Specifies logical length of source lines when
TANDEM directive is present
COLUMNS
Specifies Tandem source formatTANDEMTANDEM
Specifies ANSI source formatTANDEMANSI
Table 78 Listing Control Directives
ActionDefaultDirective(s)
Ignored (warning issued)NOCODECODE and NOCODE
1
Ignored (warning issued).NOCROSSREFCROSSREF and NCROSSREF
1
Compiler Directives 535