Appendix B. Status Key Return Codes - IBM 5280 Programmer's Manual

Distributed data system, cobol
Hide thumbs Also See for 5280:
Table of Contents

Advertisement

Appendix B. Status Key Return Codes
Table 1 summarizes the possible codes that can appear in the Status Key. The
exact meanings differ according to the file organization (sequential,
transaction, relative, or indexed) and the type of I/0 verb executed (OPEN,
READ, WRITE, etc.). See Tables 1 through 7 for the meanings according to
file organization and I/O verb issued.
Table 1: Summary of Status Key Information
First Character
Second Character
of Status Key
Meaning
of Status Key
Meaning
0
Successful Completion
0
No further information
I
At End (no next logical
0
No further information
record)
2
Invalid Key
0
No further information
I
Sequence error
2
Duplicate key; duplicate
keys not allowed
3
No record found
4
Boundary violation (indexed
or relative file)
3
Permanent error (data
0
No further information
check, parity check,
4
Boundary violation
transmission error)
(sequential file)
9
Other Errors
0
No further space (indexed
file)
2
Logic error
3
Resource not available
4
No current record pointer
for sequential request
5
Invalid or incomplete file
information
7
Data set shutdown (indexed
file)
Appendix B. Status Key Return Codes
B- I

Advertisement

Table of Contents
loading

Table of Contents