SQL Supplement for H-Series RVUs

SQL/MP Programming Manual for COBOL
HP NonStop SQL Supplement for H-Series RVUs529446-005
1-36
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). Native-compiled programs cannot be accelerated. Accelerated object code
improves the execution speed of TNS programs on TNS/R and TNS/E systems. To
accelerate a TNS object file, use one or both of these tools:
The Accelerator on page 1-37
The Object Code Accelerator (OCA) on page 1-37
Figure 1-4 shows an SQL program file that has accelerated object code.
Caution. Because the Accelerator or OCA invalidates SQL program files, run the Accelerator
or OCA before you explicitly SQL compile the program to avoid having to recompile.
Figure 1-4. 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)
or TNS/E (OCA)
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