SQL/MP Programming Manual for COBOL85

Explicit Program Compilation
HP NonStop SQL/MP Programming Manual for COBOL85429326-004
6-18
Running the NMCOBOL Compiler in the OSS
Environment
The command syntax for running the nmcobol compiler in the OSS environment
follows. The nmcobol utility is case-sensitive. Bracketed items are optional. Put
spaces between flags and their parameters but do not put spaces on either side of
equal signs. For detailed information on the nmcobol utility, see the Open System
Services Shell and Utilities Reference Manual.
flag
is one of the flags in Table 6-3 on page 6-19. The nmcobol utility is case-sensitive.
Bracketed items are optional. Put spaces between flags and their parameters but
do not put spaces on either side of equal signs. Do not specify conflicting -W flags
because results are undefined.
operand
The operand on which the nmcobol utility flags act takes this form:
file {.cbl }
{.cob }
{.a }
{.o }
-l library
where
file
is an OSS file name.
cbl
cob
is a suffix identifying file.cbl or file.cob as a COBOL source program to
be compiled and (optionally) bound.
a
is a suffix identifying file.a as a library of object files (typically produced by
the ar utility) to be passed directly to the nld utility.
o
is a suffix identifying file.o as an object file produced by a previous
compilation to be passed directly to the nld utility.
nmcobol [ flag [ flag ]... ] operand ...