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-14
OSS-Hosted SQL/MX COBOL Preprocessor
Syntax for the OSS-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 for the COBOL compiler (ecobol or nmcobol utility). 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.
-m module-def-file
is the name of the output module definition file, which is the input file for the
SQL/MX compiler. The default is source-file.m, where source-file is the
name of the SQL/MX COBOL source file (for example, sqlprog.ecob) without
the file extension.
-e
generates CHARACTER data types for date-time data types. This behavior is
compatible with NonStop SQL/MX Release 1.8. For more information, see INVOKE
and Date-Time and Interval Host Variables (SQL/MX Release 1.8 Applications) on
page 4-23.
mxsqlco sql-file
[ -c COBOL-output-file ]
[ -m module-def-file ]
[ -e ]
[ -l list-file ]
[ -a ]
[ -f ]
[ -t timestamp ]
[ -q ]
[ -d toggle || SETTOG ]
[ -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]
}]










