CRE Programmer's Guide
Common Run-Time Environment (CRE) Programmer’s Guide—528146-004
xv
About This Guide
The Common Run-Time Environment (CRE) is a set of services used by the HP 
compiler language run-time libraries. The CRE makes it easier to write mixed-language 
programs.
The Common Run-Time Environment (CRE) Programmer’s Guide describes:
•
Run-time environments and how they affect programs.
•
Services provided by the CRE, such as program initialization and termination, file 
sharing, trap handling, and heap allocation.
•
How to compile and bind programs that use the CRE.
•
CRE and Common Language Utility (CLU) library run-time functions and diagnostic 
messages.
This guide contains only G-series and H-series product information needed to modify 
the use of CRE. G-series information is included because G-series compilers and 
utilities are available on H-series systems. Although not discussed in this guide, TNS 
object code created by C-series C compilers or the D-series Pascal compiler can be 
accelerated and run on an H-series system if it already executes successfully on
G-series systems. For actions related to making such code work with CRE, refer to the 
latest D-series edition of this guide and to the final editions of the manuals for those 
compilers; neither the C-series compilers nor the Pascal compiler are available on
H-series systems.
Unless otherwise indicated in the text, discussions of native-mode behavior, 
processes, and so forth apply to both the TNS/R native code that runs on G-series 
systems and to the TNS/E native code that runs on H-series systems. Discussions of 
TNS or accelerated code behavior in the OSS environment apply only to G-series 
systems; H-series systems do not support TNS or accelerated code execution in the 
OSS environment.
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.










