COBOL Manual for TNS and TNS/R Programs

Compiler Directives
HP COBOL Manual for TNS and TNS/R Programs522555-006
36-9
COMPILE
COMPILE
CONSULT and NOCONSULT
object-name-list
Default: COMPILE
Placement: Outside the boundaries of a separately compiled program; that is, not
between the Identification Division header of a separately compiled
program and its end, which is marked by one of:
The corresponding END PROGRAM statement
ENDUNIT
The end of the source file
Scope: The last COMPILE or SYNTAX in the compilation unit applies to the
entire compilation unit.
Dependencies: None
Note. The NMCOBOL compiler ignores the NOCONSULT directive and issues a warning.
Default: NOCONSULT
Placement: Anywhere
Dependencies: None
COMPILE
SYNTAX
VST272.vsd
object-name-list
object-name-list
CONSULT
NOCONSULT
( )
VST273.vsd
object-name
,
object-name
VST274.vsd