What is file status 9 and status key 13 in VSAM?
Tue, 06/28/2011 - 14:09
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."; ; ; ;
Wed, 06/29/2011 - 05:45#2
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.