COBOL Manual for TNS and TNS/R Programs
Procedure Division
HP COBOL Manual for TNS and TNS/R Programs—522555-006
8-36
Diagnosing Input-Output Errors
“23” 0 READ random
(relative file)
The position not as expected
0 START On an optional file that is missing or
record at that position not desired
one
1 START Record not found before EOF
1 READ random
(relative or indexed file)
Record does not exist or relative file
has reached end
11 DELETE,
READ random,
REWRITE
Record does not exist
23 DELETE,
READ random,
REWRITE,
START
Relative key out of bounds
46 DELETE,
READ random,
REWRITE,
START
Invalid key specified
“24” 23 WRITE Relative key out of bounds
45 WRITE File is full
46 WRITE Invalid (duplicated) key specified)
Table 8-12. I-O Status Codes Augmented by GUARDIAN-ERR (page2of5)
Status
Code
GUARDIAN-ERR
Value COBOL Statement(s) Cause of Status Code
xxx = Whatever file-system error is returned