Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)
User Commands (m - o) nmcobol(1)
automatically includes zclisrl. Object files created are not deleted after successful generation of
the executable program file.
The executable file is created according to OSS file creation rules, except that the file permissions
are set to S_IRWXO | S_IRWXG | S_IRWXU and the bits specified by the umask value of the
process are cleared.
HP Extensions
The -W flags are specific to HP for supporting the HP compilation environment. The argument
strings within these flags are passed to the program components unchanged, along with default
argument strings and argument strings corresponding to nmcobol command line flags meaningful
to the program components. Do not specify conflicting instructions in -W flag argument strings or
nmcobol command line flags. The results of conflicting instructions are undefined.
Operands
An operand is a pathname. At least one pathname must be specified. The following operands are
supported:
file.a A library of object files typically produced by the ar command, and passed
directly to the linker utility.
file.cbl A COBOL85 language source file to be compiled and optionally linked. Embed-
ded NonStop SQL/MP information might be present.
file.cob A COBOL85 language source file to be compiled and optionally linked. Embed-
ded NonStop SQL/MP information might be present.
file.ECBL A COBOL85 language source file that contains embedded NonStop SQL/MX
statements to be compiled and optionally linked.
file.ecbl A COBOL85 language source file that contains embedded NonStop SQL/MX
statements to be compiled and optionally linked.
file.ECOB A COBOL85 language source file that contains embedded NonStop SQL/MX
statements to be compiled and optionally linked.
file.ecob A COBOL85 language source file that contains embedded NonStop SQL/MX
statements to be compiled and optionally linked.
file.m A module definition file (MDF) containing NonStop SQL/MX information for a
corresponding COBOL source file.
file.o An object file produced by a previous NMCOBOL compilation, to be passed
directly to the linker utility.
file.srl A shared run-time library passed directly to the nld utility. The shared run-time
library is used by the nld utility to resolve external references.
Input Files
Input files are one or more of the following:
• A text file containing a COBOL85 language source program
• An object file in the format produced by the command nmcobol -c or the command c89 -c
• A library of object files in the format produced by archiving zero or more object files using
the ar command
527188-007 Hewlett-Packard Company 6−65