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

Program Compilation
HP COBOL Manual for TNS/E Programs520347-003
11-29
Terminating a Compilation
Terminating a Compilation
There are two ways to terminate a compilation before normal completion:
Press Break and type STOP.
Press Break and type:
STATUS *, TERM
Find the processor (cpu ) and process number (process ) for the compiler. Type:
STOP cpu,process
With either method, the supporting processes stop when the compiler stops.
For possible values of the system completion code upon the termination of a
compilation, see Completion Codes.
Compiler Directives
Compiler directives are used to specify the source format, to control listing features, to
control selective compilation of portions of the source code, and to request compilation
options.
Topics:
Where Compiler Directives Are Allowed
Categories of Compiler Directives
One for each compiler directive, listed alphabetically, beginning with ANSI
Where Compiler Directives Are Allowed
In general, one or more directives can be entered in the directive field of the TACL
command to run the compiler (see Starting a Compilation) or can be included in the
source text on lines beginning with a question mark (?) in the indicator area.
Restrictions on these general rules are:
Each of the directives ENDUNIT, IF, IFNOT, and ENDIF must be either on a
directive line of its own or be the last of a sequence of directives.
The SECTION directive must always be on a line of its own.
The compiler accepts the SQL directive on the compiler command line, but not in
the source program.
Directives in the source text override directives on the command line.
Note. If you expect to have multiple compilations active at one time, give each ECOBOL
process a different name with the command interpreter NAME parameter. Then you can stop
the named compilation process of your choice using the second method.