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

H-Series Application Migration Guide429855-006
4-1
4 General Programming Issues
This section discusses some general migration issues that apply to all native
applications being migrated to an H-series system. The following topics are discussed:
Preparing Programs for Migration
Maintaining Common Source Code for TNS/R and TNS/E Native Compilers
Misaligned Data Causes Performance Loss on page 4-2
Adjusting For Increased DCT Limits on page 4-3
Optimizing on TNS/E Might Expose Errors on page 4-5
Creating Unstructured Enscribe Files Might Require Program Changes on
page 4-6
DDL Dictionary Conversion Required on page 4-7
setjmp Buffers Have Different Size and Alignment Requirements on page 4-7
Preparing Programs for Migration
Before migrating a program to an H-series system:
Be sure the program runs successfully on the G06.20 or later G-series RVU. If
your program runs on an earlier RVU, it might require additional changes. The
following documents might be helpful:
°
G06.xx Software Installation and Upgrade Guide. Contains information on
migrating from G06.06 or later G-series RVUs to the current G-series RVU.
°
G06.xx Release Version Update Compendium. Contains information on new
features and migration issues, including application migration, for the current
G-series RVU.
°
Interactive Upgrade Guide and Interactive Upgrade Guide 2. These web-based
migration planners contain information on migrating from the D42 RVU to the
most recent G-series and H-series RVUs.
If you are migrating from a D-series RVU, consult the resources described in
Section 10, Where to Go for Assistance, for help in upgrading to the latest G-series
RVU.
Maintaining Common Source Code for TNS/R
and TNS/E Native Compilers
In most cases, your TNS/R native programs will require no changes to migrate them to
an H-series system, so maintaining common source code is a simple matter. When
migrating to TNS/E native mode, do not use any of the new H-series features. In