SQL Supplement for H-Series RVUs
SQL/MP Programming Manual for COBOL
HP NonStop SQL Supplement for H-Series RVUs—529446-005
1-37
Acceleration of TNS HP COBOL Programs
The Accelerator
The Accelerator enables you to optimize TNS programs to run faster on TNS/R
systems. A TNS object file that has been accelerated for a TNS/R system has the
original TNS code plus the logically equivalent optimized RISC instructions.
If you compiled a TNS object file in the Guardian environment or chose not to
accelerate a TNS object file during compilation in the OSS environment, run the
Accelerator at a TACL prompt to accelerate the object file.
For example, this command accelerates a TNS object file, sqlobj, which contains
embedded SQL/MP statements, and generates an accelerated object file named
tnsrobj:
AXCEL sqlobj, tnsrobj
For more information, see the Accelerator Manual.
The Object Code Accelerator (OCA)
The Object Code Accelerator (OCA) enables you to optimize TNS programs to run
faster on TNS/E systems. A TNS object file that has been accelerated for a TNS/E
system has the original TNS code plus the logically equivalent optimized Itanium
instructions.
To accelerate a TNS object file for a TNS/E system, run the OCA at a TACL prompt.
For example, this command accelerates a TNS object file, sqlobj, which contains
embedded SQL/MP statements, and generates an accelerated object file, tnseobj:
OCA sqlobj, output_file tnseobj
For more information, see the Object Code Accelerator (OCA) Manual.
Note. In the OSS environment of a TNS/R system, you can invoke the Accelerator by
specifying the -Waxcel flag on the cobol utility command line. For more information, see
Running the cobol Utility in the OSS Environment on page 1-26.










