Pathway/iTS SCREEN COBOL Reference Manual (H06.10+, J06.03+)

Compilation
HP NonStop Pathway/iTS SCREEN COBOL Reference Manual426750-003
7-6
When Compiler Commands Take Effect
When Compiler Commands Take Effect
The SCREEN COBOL compiler treats the commands specified in the SCOBOLX run
command as if they were specified at the beginning of the source file. The compiler
lists them at the beginning of the list file. The commands are in effect at the beginning
of the compilation in the order in which they appear in the command. If conflicting
commands are specified, the last command overrides the others.
Compiler commands specified in the source file take effect at the beginning of the next
source text line. When conflicting commands are specified, the last command
specified overrides all others. Commands specified in the source text override
commands specified in the SCOBOLX run command.
Compiler Command Summary
Compiler commands are divided into categories by function. The categories and
descriptions are:
Option commands—Specify the source text input format, the source listing options,
the title field of the page header, and compilation options. For more information
about option commands see the OPTION Command on page 7-13.
Cross-reference commands—Control the generation of cross-reference
information on program identifiers.
Toggle commands—Selectively compile portions of the source text. Up to 15 flags,
called toggles, can be turned on (set), turned off (reset), or tested.
Section command—Identifies individual texts in a SCREEN COBOL source library
accessed by a COPY statement.
Tabl e 7- 1 lists compiler option commands and their defaults. Tabl e 7- 2 lists compiler
cross-reference commands and their defaults. Table 7-3 lists compiler toggle
commands.
Table 7-1. Compiler Option Commands (page1of2)
Command Default
ANSI TANDEM
COMPILE
ERRORS ERRORS 100
HEADING
LINES LINES 60
LIST
MAP NOMAP
NOLIST LIST
NOMAP