Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)
Table Of Contents
nmcobol(1) OSS Shell and Utilities Reference Manual
preprocess_only
Directs the preprocessor to suppress all steps after preprocessing.
This option is valid only for preprocessor release 2.0 and newer.
refrain_r2 Directs the SQL/MX preprocessor to use only the rules and
features that apply to preprocessors prior to release 2.0. The
default action is to use only the rules and features that apply to
preprocessors beginning with release 2.0.
This option is valid only for preprocessor release 2.0 and newer.
If you specify the -Wsqlmx flag, you cannot use the -Wsql or -Wsqlcomp flag.
-Wsqlmxadd="args"
Specifies a string to pass to the SQL/MX preprocessor without validation or
change. If more than one value is specified, they must be separated by commas
without any white space.
-W[no]suppress
Disables [enables] the generation of the compiler listing. The compiler listing is
written to standard output. The default is -Wsuppress.
-Wsyntax Checks the syntax of the source program, but does not generate any code.
-Wsystype={guardian | oss }
Specifies the target execution environment. This flag selects definitions used dur-
ing compilation, program startup code, default libraries, and system routines used
during linking. The default setting is -Wsystype=oss. (To run files compiled for a
Guardian target execution environment, you must set the file code to 700 with a
FUP ALTER filename, CODE 700 command from a TACL prompt.)
-Wtimestamp=value
Provides a creation timestamp for the NonStop SQL/MX preprocessor that is writ-
ten to the two output files created by the preprocessor. See the HP NonStop
SQL/MX Programming Manual for C and COBOL for details about the formats
allowed for value. If this flag is specified more than once, only the last occurrence
has an effect. Note that nmcobol does not check that value is valid; it relies on
the NonStop SQL/MX preprocessor to validate this argument.
This flag is ignored unless the -Wsqlmx flag is also specified.
-Wu="symbol_name"
Tells the ld linker to add symbol_name as an undefined symbol. This causes ld to
search for this symbol in any archive libraries that are specified after this flag on
the command line or in an obey file.
The search constraint specified by the -Wu flag is overridden by use of the
-Winclude_whole flag.
-Wv Echoes to the standard error file the command line as each component of the com-
pilation system is run.
-Wverbose Displays detailed information from the NMCOBOL compiler and linker utility.
-Ww Suppresses the printing of compiler warning messages.
6−62 Hewlett-Packard Company 527188-003