H-Series Application Migration Guide (H06.07+, J06.03+)
Migration Overview
H-Series Application Migration Guide—429855-008
1-7
G-Series TNS Mode to H-Series TNS Mode
area). If it does, extensive rewriting might be required. For assistance with these
kinds of operations, consult the resources described in Section 10, Where to Go
for Assistance.
3. 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
4. Resolve any source code variances. It most cases, no source changes are
needed. Certain changes are optional, and certain other changes are needed only
in rare cases. See the following sections for more information:
•
Section 5, Native C and C++ Migration Tasks for C and C+ changes
•
Section 6, Native COBOL Migration Tasks for COBOL changes
•
Section 7, pTAL Migration Tasks for pTAL changes
5. If your program uses a user library, the user library must be rebuilt as a dynamic-
link library (DLL) on an H-series system.
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-10 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-3). 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










