SQL/MP Programming Manual for C

Explicit Program Compilation
HP NonStop SQL/MP Programming Manual for C429847-008
6-3
Explicit Program Compilation
Figure 6-1. Explicit SQL Compilation of a C Program on TNS
VST003.vsd
Source File
C Source File With
Embedded SQL Statements Add required DEFINEs.
1
In an OSS environment on a TNS/R system, Steps 2 through 5
can be invoked with the c89 utility.
Binder Process
SQL Compiler
Accelerated
Object File
SQL Program File
Accelerator
or OCA
C Compiler
Run the compiler.
2
Run the SQL compiler.
5
Valid SQL Program File Ready for Execution on
TNS, TNS/R, or TNS/E Systems
Run the Binder program
(if necessary).
3
Optionally run the
Accelerator (TNS/R) or the
OCA (TNS/E).
4
C Object File With
SQL Source Statements
(File code 100)