H-Series Application Migration Guide (H06.03+)

Migration Overview
H-Series Application Migration Guide429855-006
1-7
G-Series TNS Mode to H-Series TNS Mode
6. Compile and link the program using the appropriate TNS/E native compiler and
linker. (The TNS/E native compilers and linker have different names but support
most of the same parameters.) See the following for details:
C/C++ Programmer’s Guide
COBOL Manual for TNS/E Programs
pTAL Reference Manual
eld Manual
7. If necessary, debug the program using a TNS/E native debugger. The debuggers
have changed on H-series systems. See TNS/E Native Mode Debugging Tools on
page 2-9 for an overview of H-series debuggers.
G-Series TNS Mode to H-Series TNS Mode
In the Guardian environment only, the H-series RVUs provide binary compatibility with
the G-series for running TNS object files. Most TNS programs require no source code
changes or recompilation to run on an H-series system (for exceptions, see CAUTION
on page 1-2). On H-series systems, you can run TNS object files in interpreted mode
or accelerated mode, but object files must be accelerated by the Object Code
Accelerator (OCA) for accelerated execution.
The H-series Guardian environment supports the TNS C, C++, TAL, and COBOL85
compilers, the Binder utility, and the Inspect debugger, enabling you to develop TNS
applications using familiar TNS tools.
The major changes in the H-series TNS development environment are:
A new accelerator utility is provided. To accelerate a TNS object file on a TNS/E
platform, you must use the TNS/E Object Code Accelerator (OCA). You can run
OCA on an object file that has been accelerated by AXCEL to create an object file
that will run in accelerated mode on both the TNS/R and TNS/E platforms.
(Likewise, you can run AXCEL on an object file that has been accelerated by
OCA.)
See Object Code Accelerator Utility
on page B-7 for an overview of OCA. See the
OCA Manual for details.
The OSS environment does not support TNS execution. All OSS TNS programs
must be migrated to TNS/E native mode to run on an H-series system.
In addition to the preceding differences, the following issues might affect the execution
of your program. Determine if the following issues affect execution of your program and
make any necessary changes. See the appropriate page for more information.
Misaligned Data Causes Performance Loss on page 4-2
Adjusting For Increased DCT Limits on page 4-3