COBOL Manual for TNS and TNS/R Programs

Using HP COBOL in the OSS Environment
HP COBOL Manual for TNS and TNS/R Programs522555-006
19-2
Running the COBOL85 Compiler
Running the COBOL85 Compiler
In the OSS environment, the OSS utility cobol calls the COBOL85 compiler, optionally
followed by the Binder (BIND), Accelerator (AXCEL), and SQL/MP compiler
(SQLCOMP). The flags and the types of files in the operands determine which
processes operate on the files in the operands.
The cobol utility generates programs that run in the OSS environment. To generate
programs that run in the Guardian environment, use the COBOL85 command in the
Guardian environment (see Starting a Compilation).
Text file inputs to the compiler can be OSS ASCII text files (code 180) or Guardian
EDIT files (code 101).
The command to run the COBOL85 compiler in the OSS environment is:
cobol
must be typed as shown, in lowercase letters.
flag
is as described in the Open System Services Shell and Utilities Reference Manual.
operand
pathname
cobol
flag operand
pathname
operand
VST621.vsd
-l
pathname
library
VST622.vsd
a
file
o
cbl
srl
.
ns ns
cob
VST623.vsd