COBOL Manual for TNS and TNS/R Programs
HP COBOL CRE Support
HP COBOL Manual for TNS and TNS/R Programs—522555-006
18-3
Compiler Directives
D-series HP C, HP C++, and Pascal run-time libraries always call CRE library routines
for services managed by the CRE; they can run in the CRE only. D-series HP COBOL
and FORTRAN run-time libraries call CRE library routines if you compile all of the
routines in a program to run in the CRE. In contrast, TAL routines call CRE library
routines directly.
Refer to the CRE Programmer’s Guide for more information on writing programs that
use the services provided by the CRE.
Compiler Directives
These directives support the CRE:
•
ENV
•
HIGHPIN
•
HIGHREQUESTERS
•
RUNNAMED
Volume Names
A CRE HP COBOL program can have eight-character volume names (the dollar sign
followed by one to seven characters) in these contexts:
•
SELECT clause
•
FILE clause
It must have seven-character volume names (the dollar sign followed by one to six
characters) in these contexts:
•
USING or GIVING files in SORT or MERGE statements
•
Files being read or written with HP COBOL Fast I-O
If you use an eight-character volume name in this context, you do not get an error
or warning message, but you get normal I-O instead of HP COBOL Fast I-O.