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

ecobol(1) OSS Shell and Utilities Reference Manual
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 ecobol command line ags meaningful to
the program components. Do not specify conicting instructions in -W ag argument strings or
ecobol 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 ECOBOL compilation, to be passed directly
to the linker utility.
Input Files
Input les are one of the following:
A text le containing a COBOL85 language source program
An object le in the format produced by the command ecobol -c
A library of object les in the format produced by archiving zero or more object les using
the ar command
A library of object les produced by the eld utility
When -Wsqlmx is specied, ecobol uses the source le extension to determine whether a le
requires preprocessing and the names of the source les created by the NonStop SQL/MX prepro-
cessor. The name of the source le created is the name of the primary source le with the follow-
ing transformation to the le extension:
Each source le with the extension .ecbl or .ecob is given to the mxsqlco program for
preprocessing. The resulting source les have the extensions .cbl and .m, where the le
named le.cbl contains the COBOL source to be compiled and the le named le.m con-
tains the corresponding module denition le (MDF).
336 Hewlett-Packard Company 527188-003