SQL/MP Programming Manual for COBOL85
Explicit Program Compilation
HP NonStop SQL/MP Programming Manual for COBOL85—429326-004
6-20
Running the NMCOBOL Compiler in the OSS
Environment
-s Directs the nmcobol utility to produce object files or an
executable file from which symbolic and other information
not required for proper execution has been removed.
If both -g and -s are present, keep symbolic information in
the object files but remove it from the executable file.
Do not use -Wsql and -s in the same invocation of the
nmcobol utility.
-WBdynamic Directs the nmcobol utility to select dynamic binding. The
default is -WBdynamic.
-WBstatic Directs the nmcobol utility to select static binding.
-Wcobol[="arguments"] Directs the nmcobol utility to pass arguments (a string of
compiler directives) to the compiler. This string follows any
directives generated by other flags.
-Wcolumns=N Directs the nmcobol utility to set the maximum number of
columns for an input file to N, where N is a number from 20
through 32767. The compiler ignores text in columns
beyond N.
-Wcopylib=file Directs the nmcobol utility to make file the default
COPY library.
If you repeat this flag, the last file specified is the default
COPY library.
-Wdryrun Directs the nmcobol utility to verify the syntax and
semantics of the flags and operands that were specified
and enable the -Wv flag. No compilation system
components are run.
-Werrors=N Directs the nmcobol utility to stop compiling when N error
have been encountered. The default is 100.
-Whelp Directs the nmcobol utility to display information on how to
run the nmcobol utility. No compilation system
components are run.
-W[no]innerlist Directs the nmcobol utility to enable [disable] the
generation of instruction code mnemonics in the compiler
listing immediately following each corresponding
statement. This flag works only if the -Wnosuppress flag
is specified. The default is
-Wnoinnerlist.
-Wlines=N Directs the nmcobol utility to set the maximum number of
lines on a listing page to N, if a listing is generated. N is a
number from 10 through 32767. The default is 60.
-W[no]list Directs the nmcobol utility to temporarily enable [disable]
the generation of compiler listing. This flag works only if the
-Wnosuppress flag is specified. The default is -Wlist.
Table 6-3. OSS nmcobol Utility Flags (page 2 of 4)