COBOL Manual for TNS/E Programs (H06.03+)
Native COBOL Cross Compiler on PC
HP COBOL Manual for TNS/E Programs—520347-003
34-6
ecobol (PC Command Line)
sqlmx-opt
is described in Using the Command-Line Cross Compilers on Windows (see
Documentation).
ecobol-opt
is one of these ecobol flags:
•
-Wdryrun
•
-Whelp
•
-Wsavetemps
•
-Wusage
•
-Wv
•
-Wverbose
file
is the source file name.
You can embed SQL/MP or SQL/MX statements in Native COBOL Cross Compiler for
TNS/E source code. Valid Native COBOL Cross Compiler for TNS/E source files have
these extensions:
To complete SQL/MP or SQL/MX compilation, you must specify the host and the user
logon. Specifying the NonStop server location (Guardian subvolume or OSS directory)
is optional. For more information, see Using the Command-Line Cross Compilers on
Windows.
The command-line interface allows you to create batch scripts for use on multiple
platforms.
On the Guardian platform, you issue these
commands (if desired) before you issue the
compilation command:
On the PC, you put these arguments
in the
-Wcobol flag in the
compilation command:
DEFINE
1
DEFINE name [=] value
PARAM SYMBOL-BLOCKS count
2
SYMBOL-BLOCKS [=] count
1. For information about DEFINE, see DEFINEs
2. For information about PARAM SYMBOL-BLOCKS, see PARAM SYMBOL-BLOCKS.
Extension Meaning
.cob or .cbl COBOL source code with or without embedded SQL/MP statements
.ecob or .ecbl COBOL source code with embedded SQL/MX statements










