SQL/MP Programming Manual for C
HP NonStop SQL/MP Programming Manual for C—429847-008
6-1
6 Explicit Program Compilation
This section describes the explicit compilation of a NonStop C program containing
embedded SQL statements and directives in the Guardian, HP NonStop Open System
Services (OSS), and PC host environments using TNS, TNS/R and TNS/E compilation
tools.
This section includes:
Developing a C Program in the Guardian Environment on page 6-5
Developing a C Program in the OSS Environment on page 6-28
Developing a C Program in a PC Host Environment on page 6-33
Using CONTROL Directives on page 6-34
Using Compatible Compilation Tools on page 6-36
Explicit Program Compilation
Table 6-1 and Table 6-2 list the C compilers, their compilation mode, and where you
can run them.
Note. This section contains information about some of the following G-series development
tools, which are not available on H-series systems:
TNS/R Native C compiler
TNS/R C++ compiler
TNS/R C++ runtime library version 2
NonStop SQL/MP for TNS/R C
SQL/MP Compilation Agent
NMCOBOL compiler
ld
nld
noft
TNS/R pTAL
Continue to use the Enterprise Toolkit or G-series servers for your G-series development tasks.