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

Program Compilation
HP COBOL Manual for TNS/E Programs520347-003
11-31
Categories of Compiler Directives
Compiler directive lines cannot occur between the elements of a multiline COPY
statement. The syntax of the COPY statement, without the REPLACING phrase, is:
If, for example, the word COPY is on one source line and text-name is on a
subsequent source line, no compiler directive lines can occur on any intervening
source line.
These directives have restrictions on their location within the source text:
°
COMPILE
°
ELD
°
MAIN
°
NONSTOP
°
OPTIMIZE
°
SYMBOLS
°
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 11-7, Source Text Manipulation Directives, on page 11-32
Table 11-8, Input Format Control Directives, on page 11-32
Table 11-9, Listing Control Directives, on page 11-32
Table 11-10, Code-Generation Control Directives, on page 11-33
Table 11-11, Resolution and Binding Control Directives, on page 11-35
Table 11-12, Miscellaneous Control Directives, on page 11-35
Table 11-13, ENDUNIT Directive, on page 11-36
COPY
library-nameOF
IN
.
text-name
VST265.vsd