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-16
Binding or Linking Mixed-Language Programs
Replacing a Code Block With One With Different Parameters
Unless you have explicitly disabled parameter checking, BIND reports an error if you
try to replace one code block with a code block that:
•
Expects a different number of parameters
•
Has has parameters that do not match those of the calling code block in size or
mode (content or reference)
For more information about the preceding topics and the many other features of BIND,
see the Binder Manual.
Binding or Linking Mixed-Language Programs
If you intend to bind or link routines written in different languages into a single object
file, you must either compile all the routines for the CRE or compile all the routines to
use their own language-specific environments. The former strategy is highly
recommended.
Before binding a mixed-language program, see these documents:
Accelerating TNS HP COBOL Programs
The Accelerator enables you to increase the execution speed of programs that run on
TNS/R systems. The Accelerator optimizes TNS programs to take advantage of the
TNS/R architecture. Most TNS object code that has been accelerated runs faster on
TNS/R systems than TNS object code that has not been accelerated. Most programs
written for TNS systems do not require changes to run on TNS/R systems, either with
or without acceleration.
The Accelerator takes a TNS loadfile as input and produces an accelerated object file
as output. The accelerated object file contains both the original TNS code and the
logically equivalent optimized RISC instructions—accelerated object code.
Program Type Document
TNS Binder Manual
Native non-PIC nld Manual
Native PIC ld Manual
Note. This topic applies only to TNS programs. Native HP COBOL programs do not need to
be (and cannot be) accelerated. Consider converting your TNS HP COBOL program to TNS/R
native mode rather than accelerating it—see Section 33, Migrating TNS Programs to Native
Programs.