Catalog Return Codes

The following table contains a list of return codes resulting from operations on the catalog:
Return code Description
0 OK, record is in the main catalog ($MFSYSCAT)
4 OK, record is in a user catalog
8 Record not found - non-fatal
16 Record not found
17 Get Cluster called with a non-VSAM dataset
18 Get Cluster found non-VSAM record or record did not have expected VSAM relationship information
20 Fatal error processing the request - e.g. unexpected file status opening catalog file, invalid directory for dynamic PDS
24 The user cancelled the operation while waiting for a lock
81 Too many PDS sub-records
913 Failed authorisation to create new dataset
9902 Index corrupted
9904 Invalid file status not covered by more specific error codes - an unexpected file status was returned from a file operation
9906 Out of disk space
9907 (Windows API call) Failed to get the full path and name of the catalog file
9908 Catalog file error
9913 Invalid function. The catalog module was called with an invalid function.