SQL/MP Programming Manual for COBOL

Explicit Program Compilation
HP NonStop SQL/MP Programming Manual for COBOL529758-003
6-25
Acceleration of TNS HP COBOL Programs
Acceleration of TNS HP COBOL Programs
The process of acceleration applies only to object files created in TNS mode by the
COBOL85 compiler (or by the cobol utility in the OSS environment of a TNS/R
system). Natively compiled programs cannot be accelerated. Accelerated object code
improves the execution speed of TNS programs on TNS/R systems. To accelerate a
TNS object file, use The Accelerator on page 6-24.
Figure 6-3 shows an SQL program file that has accelerated object code.
Caution. Because the Accelerator invalidates SQL program files, run the Accelerator before
you explicitly SQL compile the program to avoid having to recompile.
Figure 6-3. Accelerated SQL Program File
COBOL Object Code
SQL Source Statement 1
SQL Source Statement 2
SQL Source Statement n
SQL Program File
SQL VALID Flag
SQL Object Code
Compilation Timestamp
SQL SENSITIVE Flag
VST004A.vsd
Accelerated Object Code
for TNS/R (AXCEL)
File Label
Information
Generated by the
SQL Compiler
Object Code
Generated by the
COBOL85
Compiler
Accelerated
Object Code
SQL Source
Statements
Stored by the
COBOL85
Compiler
Execution Plans
Generated by the
SQL Compiler
Including Stored
DEFINEs