Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)

nmcobol(1) OSS Shell and Utilities Reference Manual
automatically includes zclisrl. Object les created are not deleted after successful generation of
the executable program le.
The executable le is created according to OSS le creation rules, except that the le permissions
are set to S_IRWXO | S_IRWXG | S_IRWXU and the bits specied by the umask value of the
process are cleared.
HP Extensions
The -W ags are specic to HP for supporting the HP compilation environment. The argument
strings within these ags are passed to the program components unchanged, along with default
argument strings and argument strings corresponding to nmcobol command line ags meaningful
to the program components. Do not specify conicting instructions in -W ag argument strings or
nmcobol command line ags. The results of conicting instructions are undened.
Operands
An operand is a pathname. At least one pathname must be specied. The following operands are
supported:
file.a A library of object les typically produced by the ar command, and passed
directly to the linker utility.
file.cbl A COBOL85 language source le to be compiled and optionally linked. Embed-
ded NonStop SQL/MP information might be present.
file.cob A COBOL85 language source le to be compiled and optionally linked. Embed-
ded NonStop SQL/MP information might be present.
file.ECBL A COBOL85 language source le that contains embedded NonStop SQL/MX
statements to be compiled and optionally linked.
file.ecbl A COBOL85 language source le that contains embedded NonStop SQL/MX
statements to be compiled and optionally linked.
file.ECOB A COBOL85 language source le that contains embedded NonStop SQL/MX
statements to be compiled and optionally linked.
file.ecob A COBOL85 language source le that contains embedded NonStop SQL/MX
statements to be compiled and optionally linked.
file.m A module denition le (MDF) containing NonStop SQL/MX information for a
corresponding COBOL source le.
file.o An object le 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 les are one or more of the following:
A text le containing a COBOL85 language source program
An object le in the format produced by the command nmcobol -c or the command c89 -c
A library of object les in the format produced by archiving zero or more object les using
the ar command
664 Hewlett-Packard Company 527188-003