SQL/MX Programming Manual for C and COBOL (G06.24+, H06.03+)

C/C++ Program Compilation
HP NonStop SQL/MX Programming Manual for C and COBOL523627-004
15-21
Windows-Hosted SQL/MX C/C++ Preprocessor
Syntax for the Windows-Hosted SQL/MX C/C++
Preprocessor
sql-file
is the name of the input C/C++ source file that contains embedded SQL
statements.
-c output-file
is the name of the output preprocessed annotated source file that contains C/C++
statements and embedded SQL statements converted to comments. This file is the
input file for the C or C++ compiler. If you are preparing a C++ application, specify
the name with the .C, .cc, .cpp, .cxx, or .c++ extension. The default is
source-file.c, where source-file is the name of the SQL/MX C/C++ source
file (for example, sqlprog.sql) 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 C/C++ source file (for example, sqlprog.sql) without the
file extension.
mxsqlc sql-file
[ -c output-file ]
[ -m module-def-file ]
[ -e ]
[ -n ]
[ -a ]
[ -l list-file ]
[ -p ]
[ -o ]
[ -t timestamp ]
[ -d flag[=value]]
[ -s system-name or IP-address]
[ -r ODBC-listener ]
[ -y NSK-username ]
[ -z NSK-password ]
[ -h ]
[ -i pathname ]
[ -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]
}]