TNS/E Native Application Conversion Guide

Introduction to Native Mode
TNS/E Native Application Conversion Guide529659-003
1-7
Native COBOL Compiler
The native C++ compiler command line syntax is similar to that of the TNS C compiler
and Cfront. The native c89 utility runs the compiler in the OSS environment and on the
PC. The native c89 utility syntax is similar to that of the TNS c89 utility.
ETK provides cross compilers that enable you to compile and link programs on a PC
under the Windows operating system for execution on the Integrity NonStop server.
You can compile programs targeted for either the TNS/R or TNS/E system, copy the
object files to the appropriate Integrity NonStop server, and execute them in the
Guardian and OSS environments.
The native C++ compiler supports programs that define the size of type int as 32 bits
(programs compiled with the pragma WIDE). Existing TNS C++ language programs
that define the type int as 16 bits must be changed. Few other C++ language source
code changes are required to use the native C++ compiler.
The native C++ compiler provides a more powerful and simplified development
environment than TNS Cfront. For example, you must run the C preprocessor, Cfront,
the TNS C compiler, Binder, and OCA to create an executable accelerated C++
program. In comparison, you run only the native C++ compiler and eld utility to create
an executable native C++ program.
The C and C++ native mode conversion tool, NMCMT, is not supported in H-series
RVUs.
Native COBOL Compiler
The native COBOL compiler accepts COBOL language source files that comply with
the ISO/ANSI COBOL85 Standard. The native COBOL compiler also accepts HP
language extensions for NonStop systems.
You can run the native COBOL compiler in the Guardian and OSS environments and
on the PC as part of ETK (the Tandem Development Suite is not supported in H-series
RVUs). The ECOBOL command runs the compiler in the Guardian environment. The
ECOBOL compiler command line syntax is similar to that of the TNS COBOL85
compiler command. The native ecobol utility runs the compiler in the OSS
environment and on the PC. The native ecobol utility syntax is similar to that of the
TNS cobol utility.
ETK provides cross compilers that enable you to compile and link programs on a PC
under the Windows operating system for execution on the Integrity NonStop server.
You can compile programs targeted for either the TNS/R or TNS/E system, copy the
object files to the appropriate Integrity NonStop server, and execute them in the
Guardian and OSS environments.