COBOL Manual for TNS and TNS/R Programs
Program Compilation
HP COBOL Manual for TNS and TNS/R Programs—522555-006
11-44
Terminating a Compilation
The next command initiates compilation of the program contained in file COBOLPRG
on system \MM, volume $DEV, subvolume PYRL and directs that the listing output be
discarded:
COBOL85 /IN \MM.$DEV.PYRL.COBOLPRG,OUT/; SETTOG 3
NMCOBOL /IN \MM.$DEV.PYRL.COBOLPRG,OUT/; SETTOG 3
If the compilation succeeds, the loadfile is to be named RUNUNIT. The directive sets a
compilation toggle that presumably governs the inclusion or exclusion of certain
portions of the source text.
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
Note. If you expect to have multiple compilations active at one time, give each COBOL85 or
NMCOBOL 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.