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-31
nmcobol Utility: Using One Command for All
Compilation Steps
-Wsqlmxadd=["args" | arg] Passes valid preprocessor commands
(args) through to the SQL/MX
preprocessor without change or
validation. The preprocessor validates
the syntax.
-Wsettog=n Specifies a numeric toggle from 1
through 15 that is defined only during
preprocessing. Ignored without warning
if -Wsqlmx is not specified. Can be set
more than once to set multiple toggles
as either:
•
-Wsettog=n,nn...
separated by commas without any
space between them
•
-Wsettog=n -Wsettog=nn...
separated by space without any
commas
The option is not passed to the COBOL
compiler. For details about the -d
toggle option, see Syntax for the OSS-
Hosted SQL/MX COBOL Preprocessor
on page 16-13.
-Wtimestamp=value Passes a creation timestamp to the
SQL/MX preprocessor. Ignored without
warning if -Wsqlmx is not specified. If
set more than once, only the last
occurrence takes effect. nmcobol does
not validate value. Validation is left to
the preprocessor. For details about the
form of value, see -t timestamp
on
page 16-14.
-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, or
-Wmigrate. You can use either or both
warn or verbose args, separated by
commas without space between them.