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