COBOL Manual for TNS/E Programs (H06.03+)
Using HP COBOL in the OSS Environment
HP COBOL Manual for TNS/E Programs—520347-003
19-2
Running the ECOBOL Compiler
Running the ECOBOL Compiler
In the OSS environment, the OSS utility ecobol calls the compiler (ECOBOL),
optionally followed by the linker and SQLCOMP compiler (for SQL/MP) or MXCMP
compiler (for SQL/MX). The flags and the types of files in the operands determine
which processes operate on the files in the operands.
The ecobol utility generates programs that run in the OSS environment. To generate
programs that run in the Guardian environment, use either the -Wsystype=guardian
flag in the OSS environment or the ECOBOL 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 ECOBOL compiler in the OSS environment is:
ecobol
must be typed as shown, in lowercase letters.
flag
is as described in the Open System Services Shell and Utilities Reference Manual.
operand
flag operand
pathname
operand
ecobol
VST816.vsd
-l
pathname
library
VST622.vsd










