COBOL Manual for TNS and TNS/R Programs
Program Compilation
HP COBOL Manual for TNS and TNS/R Programs—522555-006
11-131
SYNTAX
SYNTAX
SYNTAX
checks the syntax of the source text. No target file is produced.
COMPILE
compiles the program unit and included its code and data blocks in the target file
being created.
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: SYNTAX overrides RUNNABLE.
References:
•
ENDUNIT
•
RUNNABLE
SYNTAX
COMPILE
VST326.vsd