SQL/MX Programming Manual for C and COBOL (H06.10+, J06.03+)
COBOL Program Compilation
HP NonStop SQL/MX Programming Manual for C and COBOL—544617-003
16-32
ecobol or nmcobol Utility: Using One Command for
All Compilation Steps
ecobol or nmcobol Utility: Using One
Command for All Compilation Steps
In the OSS environment, the ecobol or nmcobol utility provides the interface to
COBOL compilation components, including the SQL/MX COBOL preprocessor, the
native COBOL compiler, and the native object file linker (eld or nld). ecobol enables
you to perform TNS/E native compilation and build an embedded SQL/MX program in
a single command. On systems running H06.05 or later RVUs, nmcobol enables you
to perform TNS/R native compilation and build an embedded SQL/MX program in a
single command. You can also use the compiler utility options individually: for example,
to run the SQL/MX compiler after preprocessing.
In the Windows environment, ecobol and nmcobol are bundled with ETK. For details
on syntax and use, see the help file Using Command-Line Cross Compilers on
Windows, which is included with ETK. In addition, the Open System Services Shell and
Utilities Reference Manual contains a listing of all ecobol and nmcobol utility options.










