SQL Supplement for H-Series RVUs
SQL/MP Programming Manual for COBOL
HP NonStop SQL Supplement for H-Series RVUs—529446-005
1-10
Compilation Methods
Native Mode Compilation for TNS/E Systems
A native-compiled program for a TNS/E system uses native TNS/E process and
memory architecture and consists of native object code (Itanium instructions).
Compiling an HP COBOL program in native TNS/E mode enables you to execute the
program on a TNS/E system only.
Figure 1-3 shows the steps you follow to explicitly SQL compile a COBOL program in
TNS/E native mode.
Figure 1-3. Compiling a COBOL Program in TNS/E Native Mode
VST003E.vsd
COBOL Source File
With Embedded SQL
StatementsAdd any required
DEFINEs.
1
In an OSS environment on a TNS/E system, Steps 2 through 4 can be invoked
with the ecobol utility.
COBOL Object File
With SQL Source
Statements
(File code 800)
eld Process
SQL Compiler
(SQLCOMP)
SQL Program File
ECOBOL Compiler
Run the compiler.
2
Run the SQL compiler.
4
Valid SQL Program File Ready for
Execution on TNS/E Systems Only
Run the linker (if
necessary).
3










