C/C++ Programmer's Guide (G06.25+)

About This Guide
HP C/C++ Programmer’s Guide for NonStop Systems429301-008
xxiv
Audience
When you do mixed language programming, remember the following:
There are three HP compilers for the COBOL language, invoked by six separate
commands. All these compilers implement the 1985 standard known as COBOL85
and are released as the product HP COBOL85 for NonStop Servers:
°
The TNS compiler COBOL85 command in the Guardian environment or the
cobol command in the G-series Open System Services (OSS) enviroment
°
The TNS/R native compiler NMCOBOL command in the Guardian environment
or the nmcobol command in the OSS environment
°
The TNS/E native compiler ECOBOL command in the Guardian environment
or the ecobol command in the OSS environment
An older COBOL language standard, the 1974 version, is no longer supported on
HP NonStop servers. Neither that COBOL 74 product nor its Guardian-
environment compiler are included in discussions in this guide unless specifically
mentioned.
The SCREEN COBOL product is also excluded from COBOL discussions in this
guide unless specifically mentioned.
To reduce confusion between the current product name and compiler-specific or
platform-specific behaviors, this guide now uses “COBOL” to refer to the language
when a more specific distinction is not needed or is obvious from context.
“COBOL85” is used only to refer to the HP product or to the TNS compiler in the
Guardian environment. “TNS COBOL” therefore includes the COBOL85 compiler,
the OSS cobol compiler, or the TNS version of the COBOL run-time library, while
“native COBOL” can refer to either the TNS/R or TNS/E compiler.
Similarly, there are three compilers in the Guardian environment for dialects of the
Transaction Application Language (TAL):
°
The TAL compiler, which produces TNS code for the original language dialect
of TAL.
°
The PTAL compiler, which produces TNS/R native code for the second,
portable dialect of TAL (pTAL)
°
The EPTAL compiler, which produces TNS/E native code for the dialect of
pTAL available for execution on H-series RVUs.
Unless otherwise specified in text, references to pTAL apply to code produced by
either the PTAL or EPTAL compilers.
Audience
This guide is intended for systems and applications programmers familiar with the C
and C++ programming languages, HP NonStop servers, and the HP NonStop
operating system. This manual does not describe the C/C++ standards, but does