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

H-Series Application Migration Guide429855-006
B-1
B
Migrating TNS Applications to
H-Series Systems
The H-series environment for developing and executing TNS programs is nearly
identical to the G-series TNS environment. The H-series Guardian environment
provides binary compatibility with the G-series for running TNS object files. Most
Guardian TNS programs require no source code changes or recompilation to run on an
H-series system. There are a few minor differences in some of the TNS development
tools, and possible changes in the run-time behavior of certain programs. These
differences are described in the following topics:
H-Series TNS Environment Overview
H-Series TNS Development Tools on page B-5
Handling Misaligned Data in TNS Programs on page B-12
Adjusting For Increased DCT Limits on page B-14
GDSX Applications Must Be Recompiled on page B-15
H-Series TNS Environment Overview
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.
Like G-series systems, H-series systems support both an interpreted mode and an
accelerated mode for executing TNS object files. The H-series RVUs provide an
interpreter for emulating TNS object code and an accelerator for accelerating TNS
object code.
Underlying Native Mode Structure for All Programs
On G-series systems, much of the system and library code has not been converted to
native mode. However, on H-series systems, virtually all system code, system library
routines, and other products run in TNS/E native mode, as shown in Figure B-1
on
page B-2. (Shaded regions in the figure indicate code that runs in TNS/E native mode.)
This provides a distinct performance advantage for TNS programs on H-series
systems over TNS programs on G-series systems. TNS interpreted and accelerated
object code benefit from the increased performance of the native architecture without
any source changes or recompilation.