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-16
OSS-Hosted SQL/MX C/C++ Preprocessor
Syntax for the OSS-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 for the C or C++ compiler (c89 utility). 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.
-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
mxsqlc sql-file
[ -c output-file ]
[ -m module-def-file ]
[ -e ]
[ -n ]
[ -a ]
[ -l list-file ]
[ -p ]
[ -o ]
[ -t timestamp ]
[ -d flag[=value]]
[ -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]
}]