TNS/R Native Application Migration Guide
Data Definition Language (DDL) Migration Tasks
TNS/R Native Application Migration Guide—523745-001
7-3
Compiling With New Host-Language Source Code
Files
Compiling With New Host-Language Source
Code Files
HP products that supply DDL host-language files have been generated with D40 DDL
for you. Depending on the product, the new DDL files are in D40 product versions or
D20 and D30 RVU (interim product maintenance) versions. To determine whether a
particular product version has been generated by the D40 DDL product version, check
DDL source schema files for the following comment:
DDL output recompiled with D40 DDL to allow native and non-
native applications to share structures.
DDL host-language source files do not contain this comment. (The comment appears
in DDL source schema files, not in host-language source files generated by DDL.)
You can recompile programs using any D-series version of the pTAL, native C, native
C++, and TAL compilers. You must recompile programs using a D-series version of the
TNS C compiler that supports the new FIELDALIGN pragmas emitted by DDL, as
described in the following table:
Compile and (if necessary) accelerate your programs, specifying the new host-
language source code files. No other actions are required.
For details on how the native compilers align data, see the C/C++ Programmer’s Guide
and the pTAL Reference Manual.
For this TNS C compiler product version... Use an RVU version of at least...
T9255D20 T9255ABN
T9255D30 T9255ABM
T8377D30 T8377AAA
T9255D40 In base product version. No RVU required.
T8377D40 In base product version. No RVU required.