COBOL Manual for TNS and TNS/R Programs

HP COBOL Manual for TNS and TNS/R Programs522555-006
18-1
18
HP COBOL CRE Support
This section:
Briefly describes the Common Run-time Environment (CRE)
(see Introducing the CRE)
Summarizes the changes to HP COBOL that allow HP COBOL programs to run in
the CRE. These changes involve:
°
Compiler Directives
°
Volume Names
°
Shared File Operations
°
$RECEIVE Processing
°
Arithmetic Overflow Processing
°
TNS HP COBOL Programs in TNS User Libraries
°
CHECKPOINT Access to Extended-Storage Section
°
CBL85UTL Routines
°
COBOLLIB Routines
A TNS HP COBOL program that runs in the CRE can call and be called by CRE
programs written in HP C, HP C++, FORTRAN, Pascal, and TAL, even if the main
program is not written in COBOL. In the non-CRE environment, this is possible only if
the main program is written in COBOL.
All native programs run in the CRE. Native HP COBOL programs can call and be
called by programs written in native HP C, native HP C++, and pTAL, even if the main
program is not written in HP COBOL.
This section uses these terms:
For more information:
CRE program A program that runs in the CRE
Non-CRE program A program that runs in the non-CRE environment
Topics Sources
Writing HP COBOL programs for the CRE CRE Programmers Guide
Converting non-CRE HP COBOL
programs to CRE programs
Guardian Application Conversion Guide