COBOL Manual for TNS and TNS/R Programs
Issues Related to Binding and Linking
HP COBOL Manual for TNS and TNS/R Programs—522555-006
24-17
Designing Programs With Large Amounts of Code
To accelerate an HP COBOL program, follow these steps:
1. Compile and bind the program.
2. Debug the program.
3. Run the Accelerator. If the Accelerator reports an error, the Accelerator does not
produce an output file. Correct the error and run the Accelerator again.
4. If the program contains embedded SQL/MP or SQL/MX statements, run the
SQL/MP or SQL/MX compiler.
5. Perform final testing on the accelerated program.
See the Accelerator Manual for a complete description of accelerating programs for
TNS/R systems. Topics covered include:
•
Determining which programs to accelerate
•
Preparing programs for the Accelerator
•
Specifying Accelerator AXCEL command line syntax
•
Setting Accelerator options
•
Increasing the execution speed of accelerated programs
•
Debugging accelerated programs
Designing Programs With Large Amounts of
Code
A TNS run unit that includes HP COBOL code blocks consists of up to 16 code
segments of up to 128 KB each. Each code segment contains one or more code
blocks, a PEP table, and a block of space reserved for the XEP table, as Figure 24-4
illustrates. (Figure 24-4
is not drawn to scale; it shows components, not relative sizes.)
Note. This topic applies only to TNS programs. The code space limit for a native HP COBOL
program cannot be changed (it is 32 megabytes).