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-35
c89 Utility: Using One Command for All Compilation
Steps
process_includes Processes one level of #include files.
noansi_varchars Directs the SQL/MX preprocessor to turn off
generation of ANSI varchar data.
null_terminate Automatically appends a null terminator to all
host variable character strings before they are
fetched into. Moreover, if the -a option is used
together with the -n option, the -n option has
no effect on VARCHARs. The -n option has
the potential to produce nonportable code.
refrain_r2 Directs the SQL/MX preprocessor to refrain
from embedding module definitions in the
annotated source file and to use a module
definition file.
-Wsqlmxadd=["args" | arg] Passes valid preprocessor commands (args)
to the SQL/MX preprocessor without change
or validation. The preprocessor validates the
syntax.
-Wtimestamp=value Passes a creation timestamp to the SQL/MX
preprocessor. Ignored if -Wsqlmx is not
specified. If set more than once, only the last
occurrence takes effect. c89 does not validate
value. Validation is left to the preprocessor.
For details about the form of value, see -t
timestamp on page 15-17.
-Wmxcmp[={"args" | args}] Invokes the SQL/MX compiler. If compiling
with embedded module definitions, invokes
mxCompileUserModule. If compiling with
separate module definition files, invokes
mxcmp. Cannot be specified with -Wsql,
-Wsqlcomp, -Wmigrate, or
-WIEEE_FLOAT. You can use either or both
warn or verbose args, separated by
commas without space between them.
warn Directs the SQL/MX compiler to return a
warning rather than an error if a table does
not exist at compile time.
verbose Directs the SQL/MX compiler to display
summary information, in addition to error and
warning messages.