What is file status 9 and status key 13 in VSAM?

3 posts / 0 new
Last post
Anonymous
What is file status 9 and status key 13 in VSAM?

 

 

 

 

 

 
 
I am getting an error while accessing a VSAM file in COBOL 
program, When I debug I found that the file status and status key
as 9 and 13 respectively.
 
I am new to mainframes and I am unable to figure out what could be the reason for this.
 
Please let me know ASAP.
"; ; ; ;
jeyanthi-s
Offline
Joined: 06/29/2011 - 05:25
My suggestion
Hello, From the same forum itself you could able to figure out your pblm, from the tab "error code" at the top, in that you go for file status. My guess for your problem may be, you are trying to open a record from the file which has not been catalogued(created) (or) not opened properly in the I-O mode. If you check and ensure that, it can get resolved. Bcos, File status 9 means- Attempt to read from a file that was not opened in the INPUT or I-O modes. And 13-Attempt to open a non-existing file in the INPUT and I-O modes.
Anonymous
RE:What is file status 9 and status key 13 in VSAM

9 with 013 is  "File not found"

-Rakesh

Log in or register to post comments
Sponsored Listing