SQL/MX 3.2 Programming Manual for C and COBOL (H06.25+, J06.14+)
COBOL Program Compilation
HP NonStop SQL/MX Release 3.2 Programming Manual for C and COBOL—663854-002
16-19
Windows-Hosted SQL/MX COBOL Preprocessor
If MXSQLCO is not set, the cross compiler invokes the latest version of the SQL/MX
COBOL preprocessor installed on the system.
An IDE is used. The IDE invokes c89, which uses MXSQLCO to select an alternative
version. Some of the IDEs are:
Enterprise Tool Kit (ETK)—plug-in for Microsoft Visual studio
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.
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]
}]










