SQL/MP Programming Manual for COBOL

Explicit Program Compilation
HP NonStop SQL/MP Programming Manual for COBOL529758-003
6-12
Running the HP COBOL Compilers
Running the HP COBOL Compilers
The type of HP COBOL compiler that you can use to compile an embedded SQL/MP
program depends on your operating environment and platform. Table 6-1 lists the HP
COBOL compilers, their compilation mode, and the environment and server on which
you can run the compilers.
The compilation mode that you use, depending on your choice of an HP COBOL
compiler, determines where you can run the program, as Table 6-2 shows.
Before compiling an embedded SQL/MP program, verify that the source code is ready
for compilation and configure the compilation environment. For more information, see
Preparing for Compilation
on page 6-5.
To use an HP COBOL compiler to compile an embedded SQL/MP program, see:
Running HP COBOL Compilers in the Guardian Environment on page 6-13
Running HP COBOL Compilers in the OSS Environment on page 6-16
Running the Native COBOL Cross Compilers in a PC Host Environment on
page 6-21
Table 6-1. HP COBOL Compilers
Compiler Compilation Mode
Operating Environment
of the Compiler
NonStop Server
of the Compiler
COBOL85 TNS Guardian D-series
G-series
cobol TNS OSS D-series
G-series
NMCOBOL TNS/R native Guardian D-series
G-series
nmcobol TNS/R native OSS D-series
G-series
Native COBOL cross
compiler for TNS/R
TNS/R native PC D-series host
*
G-series host
*
The HP Enterprise Toolkit—NonStop Edition (ETK) and PC command line are not supported on D-series
servers. Instead, use the native COBOL cross compiler of the HP Tandem Development Suite (TDS). For more
information, see the
COBOL85 for NonStop Systems Manual.
Table 6-2. COBOL Compilation Mode and Execution Environment
Compilation Mode NonStop System Where you can run the Program
TNS TNS system (C-series servers)
TNS/R system (D-series and G-series servers)
TNS/R native TNS/R system (D-series and G-series servers)