COBOL Manual for TNS and TNS/R Programs

Run-Time Diagnostic Messages
HP COBOL Manual for TNS and TNS/R Programs522555-006
48-3
Standard Message Format—Non-CRE Environment
COBOL-file-name
applies only to I-O errors and is the name of the file in error (the file-name in
the SELECT clause).
assigned-file-name
is the file system name of the file assigned to COBOL-file-name.
open-status
is an open mode (INPUT, OUTPUT, I-O, EXTEND or CLOSED).
In Example 48-1, The process running on system \HQSYS4, on processor 2, as
process 38, is not named.
The second through fifth lines are a traceback. The second line reports that the error
occurred at an offset of octal 166 in SUB2A, which is contained in SUB2, which is
contained in BUDG3A. The call to SUB2A occurred in SUB2, at an offset of octal 200.
The call to SUB2 occurred in SUB1, at an offset of octal 264. The call to SUB1
occurred in BUDG3A, at an offset of octal 123.
Example 48-1. Standard Run-Time Diagnostic Message (Non-CRE Environment)
\HQSYS4.02,038 - *** COBOL85 Library Error 009 ***
\HQSYS4.02,038 - From BUDG3A.SUB2.SUB2A + %166
\HQSYS4.02,038 - BUDG3A.SUB2 + %200
\HQSYS4.02,038 - BUDG3A.SUB1 + %264
\HQSYS4.02,038 - BUDG3A + %123
\HQSYS4.02,038 - Subscript out of range
\HQSYS4.02,038 - $AUTRY.BUDGET87.BUD3A - 30 Sep 86 13:42
ABENDED: 2,38
Element Value
pn \HQSYS4.02,038
nnn 009
prog-id BUDG3A.SUB2.SUB2A
offset %166
message Subscript out of range
program-file-name $AUTRY.BUDGET87.BUD3A
date-and-time 30 Sep 86 13:42
additional-message None