Where VSAM file status codes are documented.

Document ID : KB000015063
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

 

Where can I find the meaning of the possible status codes that can be returned in the FILE-STATUS field for a VSAM file ?

They are not documented in the CA Easytrieve Language Reference Guide or Messages and Codes.

 

Answer:

 

The status codes CA Easytrieve show are passed back from IDCAMS, so you can find the possible values and meanings in the section VSAM Macro Return and Reason Codes in the IBM manual z/OS DFSMS Macro Instructions for Data Sets

Here is a link to it in the IBM Knowledge Center: 

https://www.ibm.com/support/knowledgecenter/SSLTBW_2.2.0/com.ibm.zos.v2r2.idad500/x1cb.htm