SQL/MP Programming Manual for COBOL85
Explicit Program Compilation
HP NonStop SQL/MP Programming Manual for COBOL85—429326-004
6-15
Running the COBOL85 Compiler in the OSS
Environment
-O [optlevel] Directs the cobol utility to set the optimization level to
optlevel, which must be 0, 1, or 2.
-O 0 is equivalent to the compiler directive OPTIMIZE 0.
The resulting code is not accelerated.
-O 1 is equivalent to the compiler directive OPTIMIZE 1.
The resulting code is not accelerated.
-O 2 is equivalent to the compiler directive OPTIMIZE 2.
The resulting code is accelerated.
-O is equivalent to -O 2.
Specifying no -O [optlevel] flag is equivalent to specifying
-O 1.
-o outfile Directs the cobol utility to use the pathname outfile
instead of the default a.out for the executable file
produced.
-s Directs the cobol 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
cobol utility.
-Waxcel[="arguments"] Directs the cobol utility to invoke the Accelerator, passing
it arguments (For a description of the arguments that can
be passed to the Accelerator, see the Accelerator Manual).
-WBdynamic Directs the cobol utility to select dynamic binding.
-WBstatic Directs the cobol utility to select static binding.
-Wbind[="arguments"] Directs the cobol utility to pass arguments (a string of
Binder commands) to Binder (For a description of the
arguments that can be passed to the Binder program, see
the Binder Manual).
-Wcobol[="arguments"] Directs the cobol utility to pass arguments (a string of
compiler directives) to the COBOL85 compiler. This string
follows any directives generated by other flags. COBOL85
compiler directives are described in the COBOL85 for
NonStop Systems Manual.
-Wcopylib=file Directs the cobol utility to make file the default COPY
library.
If you repeat this flag, the last file specified is the default
COPY library.
-Wnobind Directs the cobol utility to suppress the invocation of
Binder.
-W[no]saveabend Directs the cobol utility to specify that a save file or core
file is [not] created if the program terminates abnormally.
The default is
-Wnosaveabend.
Table 6-1. OSS cobol Utility Flags (page 2 of 3)










