TNS/E Native Application Conversion Guide
TNS/E Native Application Conversion Guide—529659-003
11 -1
11
OSS API and Utilities Conversion
Tasks
The OSS environment provides an industry-standard API and set of utilities for Integrity
NonStop servers..
This section describes the OSS API changes required to convert TNS programs to
TNS/E native mode. It also describes changes required to the cobol, c89 and c99
utility command lines to run the TNS/E native COBOL and C/C++ compilers.
Make the changes described in Section 3, C and C++ Conversion Tasks or Section 4,
Converting COBOL Programs before making the changes described in this section.
This section discusses:
•
Specifying Compilation System Flags on page 11-1
•
Using System Calls Enhanced to Support the Native Architecture on page 11-5
•
Specifying Compiler Pragmas on page 11-5
•
Specifying Files in the Guardian File System (/G) on page 11-6
•
Specifying SQL Compilation on page 11-6
Specifying Compilation System Flags
The TNS and TNS/E native compilation systems use different components, as
described in Native Development Environment on page 1-4. Following are descriptions
of the differences in the compilation system flags.
COBOL Compilation System
To use the TNS/E native COBOL compilation system components, use the ecobol
utility instead of the cobol utility. You must also change certain flags. Table 11-1 on
page 11-2 shows the compilation system flags that must be changed when moving
from TNS mode to TNS/E native mode.










