0 |
0 |
Successful completion |
|
2 |
Indexed files only. One of two possibilities:
- For a READ statement, the key value for the current key is equal to the value of that same key in the next record within the current key of reference.
- For a WRITE or REWRITE statement, the record just written created a duplicate key value for at least one alternate record key for which duplicates are allowed.
|
1 |
0 |
There is no next logical record. You have reached the end of the file. |
2 |
1 |
Sequentially accessed files only. Indicates a sequence error. The ascending key requirement of successive record key values has been violated, or the prime record key value has been changed by a COBOL program between successful execution of a READ statement and the execution of the next REWRITE statement for that file. |
|
2 |
Relative and indexed files only. Indicates a duplicate key value. An attempt has been made to write or rewrite a record that would create a duplicate key in a relative or indexed file. |
|
3 |
Indicates no record found. An attempt has been made to access a record identified by a key, and that record does not exist in the file. |
3 |
0 |
There was either a boundary violation for a sequential file or an I/O error, such as a data check parity error, or a transmission error. |
|
4 |
The I/O statement failed because of a boundary violation. This condition indicates that an attempt has been made to write beyond the externally defined boundaries of a sequential file. |
9 |
|
Extended file status code |