SQL/MX Programming Manual for C and COBOL (G06.24+, H06.03+)
COBOL Program Compilation
HP NonStop SQL/MX Programming Manual for C and COBOL—523627-004
16-17
Windows-Hosted SQL/MX COBOL Preprocessor
If you use INVOKE, MXCS must be installed on your operating system to provide the 
necessary communication between your client workstation and the server. For more 
information on how to install MXCS, see the SQL/MX Connectivity Service 
Administrative Command Reference. In addition, you must install the HP NonStop 
ODBC/MX driver for Windows. For installation information, see the ODBC/MX Driver 
for Windows Manual.
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]
 }]










