SQL/MX Programming Manual for C and COBOL (H06.10+, J06.03+)

COBOL Program Compilation
HP NonStop SQL/MX Programming Manual for C and COBOL544617-003
16-24
Running the COBOL Compiler and Linker
On Windows, you can run the COBOL compiler and native object file linker from ETK,
or you can use the command-line cross compiler (ecobol or nmcobol) and the linker
(eld or nld). For details on syntax and using the COBOL cross compiler with ETK,
see the help file Using Command-Line Cross Compilers on Windows, which is included
with ETK.
To run the ECOBOL compiler, see the COBOL Manual for TNS/E Programs. To run the
eld linker, see the eld Manual. To run the NMCOBOL compiler, see the COBOL
Manual for TNS and TNS/R Programs. To run the nld linker, see the nld Manual. For
more information on the ecobol or nmcobol utility, see ecobol or nmcobol Utility:
Table 16-1. HP NonStop COBOL Compilers for Embedded SQL/MX Programs
Compiler
Compiler Operating
Environment
Program Execution
Environment
TNS/E native compilers:
Native COBOL cross
compiler for TNS/E
*
Windows environment on a
PC connected to a NonStop
system running an H-series
RVU
OSS or Guardian
environment on a NonStop
system running an H-series
RVU
ecobol OSS environment on a
NonStop system running an
H-series RVU
OSS or Guardian
environment on a NonStop
system running an H-series
RVU
ECOBOL Guardian environment on a
NonStop system running an
H-series RVU
Guardian or OSS
environment on a NonStop
system running an H-series
RVU
TNS/R native compilers:
Native COBOL cross
compiler for TNS/R
*
Windows environment on a
PC connected to a NonStop
system running H06.05 or
later RVU or a NonStop
system running a G-series
RVU
OSS or Guardian
environment on a NonStop
system running a G-series
RVU
nmcobol OSS environment on a
NonStop system running
H06.05 or later RVU or a
NonStop system running a
G-series RVU
OSS or Guardian
environment on a NonStop
system running a G-series
RVU
NMCOBOL Guardian environment on a
NonStop system running
H06.05 or later RVU or a
NonStop system running a
G-series RVU
Guardian or OSS
environment on a NonStop
system running a G-series
RVU
*
The native COBOL cross compilers can be run from the ETK or from the PC command line.