Microsoft COBOL V2 File Status Codes

Status Key 1 Status Key 2 Description
0 0 Successful completion.
  2 Duplicate key and duplicates are allowed.
1 0 End of file.
2 1 Sequence error in writing sequential access file.
  2 Duplicate key and duplicates are not allowed.
  3 Key not found.
  4 Disk space full.
3 0 Permanent error or file not found.
  4 Disk space full.
9 1 File structure error.
  4 File or record locked.
  5 Indexed file system not available.