H-Series Application Migration Guide (H06.07+, J06.03+)
The TNS/E Native Development Environment
H-Series Application Migration Guide—429855-008
2-7
TNS/E Native Run-Time Libraries
As part of the migration process, the tool ensures that all files pertaining to the TDS
target remain part of the ETK project. However, file properties for file types that are
unknown to ETK are not migrated. For every such file type, users must explicitly add
these file properties in ETK. The migration tool supports the following file extensions:
.cpp, .css, .tal, .cob, and .cbl.
TNS/E Native Run-Time Libraries
The major difference between run-time libraries on G-series systems and on H-series
systems is that all H-series libraries are implemented as DLLs rather than SRLs; SRLs
are not supported on H-series systems. The H-series libraries have different names,
which might necessitate changes to build procedures that specify the libraries. The
new libraries and the G-series libraries they replace are given in Table 2-3.
VERSION1 of the C++ native run-time library is not supported in the H-series RVUs.
Migrating to VERSION2 or VERSION3 will likely require some source code changes.
See Native C and C++ Run-Time Library and Tools.h++ Migration Issues on page 5-8
for more information.
For a VERSION2 link, use ZCPPCDLL and ZCPP2DLL (or libcppc.so and libcpp2.so).
For a VERSION3 link, use ZCPPCDLL and ZCPP2DLL (or libcppc.so and libcpp3.so).
Note. In the TDS project system, a file type can be independent of the file extension. For
example, a file1.cpp file can have the file type set as .cob. In this case, although the file
has a .
cpp extension, it behaves as a COBOL file and is recognized as such by the COBOL
cross compiler. In the ETK project system, file type information is based solely on the file
extension; for example, ETK will always treat
file1.cpp as a C++ file. For the migration tool
to preserve file semantics while migrating TDS targets, there cannot be any file in the TDS
target that has a mismatch between its extension and its type. On encountering the first such
file, the tool generates an error and the TDS target is not migrated.
Table 2-3. G-Series and H-Series Run-Time Libraries
Library
G-Series SRL Name
Guardian PC
H-Series DLL Name
Guardian PC
COBOL run-time library ZCOBSRL libcob.srl ZCOBDLL libcob.so
Common Run-Time
Environment (CRE)
ZCRESRL libcre.srl ZCREDLL libcre.so
C run-time library ZCRTLSRL libcrt.srl ZCRTLDLL libcrt.so
C++ VERSION1 standard run-
time library
ZCPLGSRL
ZCPLOSRL
libCg.srl
libCo.srl
Not
supported
Not
supported
C++ VERSION2 standard run-
time library
ZRWSLSRL
ZCPLSRL
libstd.srl
libC.srl
ZCPPCDLL
ZCPP2DLL
libcppc.so
libcpp2.so
C++ VERSION3 standard run-
time library
ZSTLSRL libstl.srl ZCPPCDLL
ZCPP3DLL
libcppc.so
libcpp3.so
Tools.H++ 7.0 ZTLHSRL libtlh.srl ZTLH7DLL libtlh7.so










