Open System Services Shell and Utilities Reference Manual (G06.27+, H06.04+)

User Commands (d - f) ecobol(1)
le2.cob, le3.cob, le1.o, le2.o, and le3.o.
9. The command
ecobol -c -Wsqlmx file1.cbl file2.ecbl file3.ecob file4.cob
mixes COBOL source les with and without embedded NonStop SQL/MX statements.
All les are compiled but not linked. Using the release 2 module management method, if
no errors are detected during either preprocessing or compilation, the following
les are
created: le2.cob, le3.cob, le1.o, le2.o, le3.o, le4.o.
10. The command
ecobol -Wmxcmp -Wmxcmp_files="test1.m,test1.o"
SQL-compiles the MDF le test1.m using the NonStop SQL/MX mxcmp compiler and
processes the le test1.o using the NonStop SQL/MX mxCompileUserModule
without
also linking it.
DIAGNOSTICS
If ecobol encounters a compilation error that prevents an object le from being created, it writes a
diagnostic message to the standard error le and continues to compile other source code operands;
however, it does not perform program linking and returns a nonzero exit status. If the linking is
unsuccessful, cobol writes a diagnostic message to the standard error le and returns a nonzero
exit status.
EXIT VALUES
The following exit values are returned:
0 Successful completion.
>0 An error occurred.
RELATED INFORMATION
Commands: ar(1), c89(1), eld(1), nmcobol(1), strip(1).
Functions: tempnam(3).
STANDARDS CONFORMANCE
The ecobol utility is an HP extension to the XPG4 Version 2 specication.
527188-004 Hewlett-Packard Company 341