C/C++ Programmer's Guide (G06.27+, H06.08+, J06.03+)

For more details about EpTAL, see the pTAL Programmer’s Guide.
COBOL85 Cross Compilers
The native COBOL85 cross compilers are an option available with ETK and TDS, and separately
as command-line cross compilers for the G06.14 and later RVUs.
The native COBOL85 cross compilers allow you to:
Write, compile, and link NonStop server applications (Guardian and Open System Services
[OSS] executables, static libraries, and user libraries) on the PC and transfer them to the OSS
or Guardian platform for use in production
Object files built on the PC platform using the native COBOL85 compiler are compatible with
object files built on the NonStop server platform using the NMCOBOL or ECOBOL compiler.
The default target for the COBOL85 cross compilers is Guardian.
Link ECOBOL, C/C++, and EpTAL objects into a single executable file
Link NMCOBOL, C/C++, and pTAL objects into a single executable file
When multiple RVUs are installed, choose any installed RVUs of the cross compilers, tools,
and libraries
On ETK and TDS platforms, enter ADD, MODIFY, SET, and DELETE statements into a TACL
DEFINE file
On ETK and command-line platforms, compile SQL/MP or SQL/MX statements embedded in
native COBOL source code
Your PC must be connected to the NonStop host for certain SQL compile-time operations and
for running your applications.
The native COBOL85 cross compilers are delivered on a separate independent product CD and
by means of Scout for NonStop Servers, and are not available on the SUT.
For more detail about the native COBOL85 cross compilers, see:
The cross compiler documentation on the PC
The COBOL for TNS and TNS/R Manual
The COBOL for TNS/E Manual
PC Tools
Several PC tools work with ETK and TDS:
HP Extensions for Codewright (TEC)
Visual Inspect (page 318)
ar Tool (File Archive) (page 318)
NOTE: For information about the tools NSDEE supports, see the online help for NSDEE.
The Standard C++ Library Version 3 is supported by ETK. In addition, the Rogue Wave libraries
are available with both ETK and TDS. The Rogue Wave libraries include the Standard C++ Library
Version 1 and Version 2 and Tools.h++ (both Versions 6.1 and 7). Both SQL/MP and SQL/MX
are supported by ETK; TDS supports only SQL/MP.
HP Extensions for Codewright (TEC)
HP Extensions for Codewright (TEC) is an optional editor available for TDS. TEC extends the
capabilities of Codewright with additional features for general editing and programming,
PC Tools 317