Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)
Table Of Contents
User Commands (d - f) ecobol(1)
file2.cob, file3.cob, file1.o, file2.o, and file3.o.
9. The command
ecobol -c -Wsqlmx file1.cbl file2.ecbl file3.ecob file4.cob
mixes COBOL source files with and without embedded NonStop SQL/MX statements.
All files are compiled but not linked. Using the release 2 module management method, if
no errors are detected during either preprocessing or compilation, the following
files are
created: file2.cob, file3.cob, file1.o, file2.o, file3.o, file4.o.
10. The command
ecobol -Wmxcmp -Wmxcmp_files="test1.m,test1.o"
SQL-compiles the MDF file test1.m using the NonStop SQL/MX mxcmp compiler and
processes the file test1.o using the NonStop SQL/MX mxCompileUserModule
without
also linking it.
DIAGNOSTICS
If ecobol encounters a compilation error that prevents an object file from being created, it writes a
diagnostic message to the standard error file 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 file 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 specification.
527188-003 Hewlett-Packard Company 3−41