SQL/MP Programming Manual for COBOL85

Explicit Program Compilation
HP NonStop SQL/MP Programming Manual for COBOL85429326-004
6-21
Running the NMCOBOL Compiler in the OSS
Environment
-W[no]map Directs the nmcobol utility to enable [disable] the
generation of identifier maps for the compiler listing. This
flag works only if the -Wnosuppress flag is specified. The
default is
-Wnomap.
-Wnld[="arguments"] Directs the nmcobol utility to pass arguments (a string of
nld utility commands) to the nld utility.
If you repeat this flag, arguments are passed to the nld
utility in the order specified.
-Wnld_obey=file Directs the nmcobol utility to pass file (a file of nld
commands) to the nld utility.
-Wnolink Directs the nmcobol utility to suppress the invocation of
the nld utility. Use this flag when the SQL compiler is to be
invoked without having to rebuild the executable file.
-Woptimize=N Directs the nmcobol utility to set the optimization level to
N. N is 0, 1, or 2. The NMCOBOL compiler handles 2 as if it
were 1. The default is 1.
-Wr Directs the nmcobol utility to produce a nonexecutable
object file. The object file can be used as input to the nld
utility. If this flag is not specified and the nld utility is
invoked, the object file is executable.
-Wrunnamed Directs the nmcobol utility to direct the nld utility 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 Directs the nmcobol utility to specify that a save file or
core file is [not] created if the program terminates
abnormally. The default is
-Wnosaveabend.
-Wrunlib=pathname Directs the nmcobol utility to make pathname the user
library to be used at run time (pathname must be a
Guardian file).
-Wsql[="arguments"] Directs the nmcobol utility to invoke the SQL compiler,
passing it arguments (For a description of the arguments
that can be passed to the SQL compiler, see SQL
Compiler Options on page 6-26.)
-Wsqlcomp="arguments" Directs the nmcobol utility to run the SQLCOMP compiler
after the link step, using arguments as SQLCOMP
directives.
-W[no]suppress Directs the nmcobol utility to disable [enable] the
generation of the compiler listing. The compiler listing is
placed in a file in the current working directory with the
same name as the source, but with the suffix .L. The
default is -Wsuppress.
Table 6-3. OSS nmcobol Utility Flags (page 3 of 4)