TNS/R Native Application Migration Guide
Introduction to Native Mode
TNS/R Native Application Migration Guide—523745-001
1-7
Native COBOL85 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 the Accelerator to create an executable accelerated
C++ program. In comparison, you run only the native C++ compiler and nld utility to
create an executable native C++ program.
The native mode C and C++ migration tool, NMCMT, scans source files and produces
a diagnostic listing. The listing identifies most C++ language source code changes
required to migrate from TNS C++ (D20 and later product versions) to native C++.
Native COBOL85 Compiler
The native COBOL85 compiler accepts COBOL85 language source files that comply
with the ISO/ANSI COBOL85 Standard. The native COBOL85 compiler also accepts
HP language extensions.
The NMCOBOL compiler can be run in the Guardian and OSS environments and on
the PC as part of ETK or TDS. The NMCOBOL command runs the compiler in the
Guardian environment. The NMCOBOL compiler command line syntax is similar to that
of the TNS COBOL85 compiler. The native nmcobol utility runs the compiler in the
OSS environment and on the PC. The native nmcobol utility syntax is similar to that of
the TNS cobol utility.
Both ETK and TDS enable you to compile and link programs on a PC (for details, see
the COBOL85 for NonStop Systems Manual). You can copy these programs to a
NonStop system and execute them in the Guardian and OSS environments.
Native C Run-Time Library
The native C run-time library provides functions conforming to the ISO/ANSI C
Standard. It also contains functions conforming to the X/OPEN UNIX 95 specification
and HP extensions to these standards.
The native C run-time library supports Guardian and OSS processes. The native C
run-time library is nearly identical for the Guardian and OSS environments and thus
increases the interoperability between environments.
The native C run-time library does not have many of the nonstandard functions in the
Guardian TNS C run-time library. However, the native C library does have additional
functions from the X/OPEN UNIX 95 specification that are absent from the Guardian
and OSS TNS C libraries. The native C run-time library also provides additional local
sensitive functions and algorithmic code-set converters for use in internationalized
OSS applications. For details, see the Software Internationalization Guide.
The TNS and native C run-time libraries return the same error messages. The native C
run-time library returns additional errno return values.