COBOL Manual for TNS and TNS/R Programs

HP COBOL CRE Support
HP COBOL Manual for TNS and TNS/R Programs522555-006
18-6
Message Format
Message Format
Most of the SYSTEM messages in the CRE are longer than those in the non-CRE
environment. If your CRE program is to process SYSTEM messages, make the record
area of the $RECEIVE file at least 256 characters long.
Message Replies
The replies to some messages have changed, particularly the replies to the messages
OPEN and CLOSE. In the non-CRE environment, you can reply to these messages
with anything; in the CRE, you must reply correctly or (in the Guardian environment)
operating environment error 2 results. For correct replies, see the Guardian User’s
Guide.
Arithmetic Overflow Processing
When an arithmetic overflow condition occurs that is not covered by ON SIZE ERROR,
the CRE traps the error. Then, if the program specifies PARAM INSPECT ON, the CRE
causes the program to enter the selected debugger (see Debugger Selection). If the
program specifies PARAM INSPECT OFF, the CRE causes the program to terminate
abnormally with a run-time diagnostic message and a trace to the offending statement.
TNS HP COBOL Programs in TNS User
Libraries
The CRE allows TNS HP COBOL programs in TNS user libraries if the programs
satisfy the criteria listed in Library Programs.
CHECKPOINT Access to Extended-Storage
Section
The CHECKPOINT statement can access Extended-Storage Section data items. For
the NMCOBOL compiler, the CHECKPOINT statement is available for the RVU D46.00
and G06.00 or later, software product revision T8107AAT (run-time library T8108AAR).