SQL/MX Programming Manual for C and COBOL (H06.10+, J06.03+)
COBOL Program Compilation
HP NonStop SQL/MX Programming Manual for C and COBOL—544617-003
16-19
Windows-Hosted SQL/MX COBOL Preprocessor
The environment variable MXSQLCO must be set before starting ETK.
°
Enterprise Plugins for Eclipse (EPE)—plug-in for Eclipse
When Eclipse is used, MXSQLCO is set by EPE based on the value of the
preprocessor installation location.
Syntax for the Windows-Hosted SQL/MX COBOL
Preprocessor
sql-file
is the name of the input COBOL source file that contains embedded SQL
statements.
-c COBOL-output-file
is the name of the output preprocessed annotated source file that contains COBOL
statements and embedded SQL statements converted to comments. This file is the
input file for the COBOL compiler. The default is source-file.cbl, where
source-file is the name of the SQL/MX COBOL source file (for example,
sqlprog.ecob) without the file extension.
mxsqlco sql-file
[ -c COBOL-output-file ]
[ -m module-def-file ]
[ -e ]
[ -l list-file ]
[ -a ]
[ -f ]
[ -t timestamp ]
[ -q ]
[ -d toggle || SETTOG ]
[ -s system-name or IP-address ]
[ -r ODBC-listener]
[ -y NSK-username ]
[ -z NSK-password]
[ -x ]
[ -g {moduleGroup[=module-group-specification-string]
|moduleTableSet[=module-tableset-specification-
string]
|moduleVersion[=module-version-specification-
string]
|moduleCatalog[=module-catalog-name]
|moduleSchema[=module-schema-name]
}]
[ -Q {[invokeCatalog=catalog-name]
|[invokeSchema=schema-name]
}]










