Listed below are the common file status codes:
00: The operation was successful.
04: Fixed length record was invalid.
20: The key for KSDS or RRDS is invalid.
22: Duplicate primary key found.
23: Error locating the record or file.
30: Permanent I/O fault.
38: Attempting to open a locked file.
91: Invalid password or authorization.
93: Resources are unavailable.
95: Invalid or incomplete file information.
98: File Locked- Failed to open the file.
99: Record Locked - Failed to access record, etc.
8. State difference between QSAM files and ESDS files.
Both QSAM and ESDS files store records in sequential order, i.e., according to the entry order. However, they differ in several ways: