COBOL Manual for TNS and TNS/R Programs
Libraries and Utility Routines
HP COBOL Manual for TNS and TNS/R Programs—522555-006
13-39
COBOL85^ARMTRAP
Topics:
•
COBOL85^ARMTRAP
•
COBOL85^COMPLETION and COBOL_COMPLETION_
•
COBOL_CONTROL_
•
COBOL_GETENV_
•
COBOL_PUTENV_
•
COBOL85^RETURN^SORT^ERRORS and COBOL_RETURN_SORT_ERRORS_
•
COBOL85^REWIND^SEQUENTIAL and COBOL_REWIND_SEQUENTIAL_
•
COBOL85^SET^SORT^PARAM^TEXT and COBOL_SET_SORT_PARAM_TEXT_
•
COBOL85^SET^SORT^PARAM^VALUE and
COBOL_SET_SORT_PARAM_VALUE_
•
COBOL_SET_MAX_RECORD_
•
COBOL_SETMODE_
•
COBOL85^SPECIAL^OPEN and COBOL_SPECIAL_OPEN_
COBOL85^ARMTRAP
The COBOL85^ARMTRAP routine stops a process when an arithmetic overflow
occurs. Without COBOL85^ARMTRAP, the process would enter the selected debugger
(see Debugger Selection). Use the COBOL85^ARMTRAP routine in the Guardian
environment.
If an arithmetic overflow occurs, COBOL85^ARMTRAP either stops the process in
which the overflow occurred or enters the selected debugger. In either case, it also
writes a run-time diagnostic message to the output device. COBOL85^ARMTRAP is
unavailable and unnecessary in the CRE and native HP COBOL.
Topics Sources
Debugger selection Debugger Selection
Run-time diagnostic messages Section 48, Run-Time Diagnostic Messages
ENTER COBOL85^ARMTRAP
" "
ns ns
VST341.vsd