Open System Services Shell and Utilities Reference Manual (G06.27+, H06.04+)
User Commands (m - o) nmcobol(1)
-Wrunnamed Directs the linker to set the RUNNAMED ON attribute in the current object file.
This attribute specifies that the object file runs as a named process. The default is
RUNNAMED OFF.
-W[no]saveabend
Specifies that a saveabend file is [not] created if the program terminates abnor-
mally. The default is -Wnosaveabend.
-Wsavetemps Saves all temporary and intermediate files created by compilation system com-
ponents. Use the -Wv flag to display the filenames.
-Wsettog=n[, n ] ...
Specifies a numeric toggle in the range 1 through 15 that is defined only during the
NonStop SQL/MX preprocessing step. See the HP NonStop
SQL/MX Program-
ming Manual for C and COBOL for details about the NonStop SQL/MX -d toggle
option.
All -Wsettog values that are supplied to nmcobol are automatically passed as -d
options to the NonStop SQL/MX preprocessor. The -d options control the pro-
cessing of ?IF directives by the preprocessor; the options do not pass ?SETTOG
directives to the COBOL compiler.
This flag is ignored unless the -Wsqlmx flag is also specified. This flag can be
specified more than once.
-Wsql[="args" ]
Enables NonStop SQL/MP support when processing COBOL85 source files, using
the arguments in the argument string enclosed in quotation marks. Refer to the
NonStop SQL/MP Programming Manual for COBOL85 for a description of the
arguments that can be passed to the NonStop SQL/MP compiler. If no errors
occur, -Wsql also runs the SQLCOMP compiler after the link step.
If you specify the -Wsql flag, you cannot use the -s, -Wmxcmp,or-Wsqlmx flag.
-Wsqlcomp[="args" ]
Runs the NonStop SQL/MP SQLCOMP compiler after the link step, using the
arguments specified in args.
If you specify the -Wsqlcomp flag, you cannot use the -Wmxcmp or -Wsqlmx
flag.
-Wsqlmx[="arg[,... ]" ]
Invokes the NonStop SQL/MX mxsqlco preprocessor, using the arguments given
by args.Ifanarg value is specified, it must be one of the following; if more than
one value is specified, they must be separated by commas without any white
space:
ansi_format Directs the preprocessor to assume ANSI fixed format for the
source file that it reads.
double_quotes Directs the preprocessor to accept SQL string literals delimited by
double quotes in addition to literals delimited by single quotes.
listing Directs the preprocessor to write its diagnostic messages to a file
named file.eL, where file is the name of the primary source file.
527188-004 Hewlett-Packard Company 6−61