Posted: Tue Jun 01, 2010 6:36 pm Post subject: VSAM Status 46
I am getting a 46 on a VSAM file. I am VERY puzzled by this because I believe that I have coded so that this is not possible.
The program reads an input to get the keys to read the vsam file. It is reading the AIX.
VSAM status 46 means that no valid next record condion exists because:
1. The prior read resulted in an end-of-file
2. The previous read was not successful.
I don't think either of these apply because. If I get an EOF, the code will go read the next input record and re-do a start and read from there.
If the previous read is unsuccessful, the program abends.
This file is open for I/O in the CICS region. I kind of suspect that has something to do with it, but I am at a complete loss as to how this can happen. The program has been running without incdent for some time and this has only cropped up recently, but the last week has pushed this program into running during the time CICS is up.
Joined: 09 Aug 2008 Posts: 1631 Location: Mumbai, India
Posted: Thu Jun 10, 2010 1:32 pm Post subject:
If the VSAM is being used by your application it will not be available for "batch process" for sure. Showing your code which you suspect is not functioing corrct might help to get better solution. _________________ Regards,
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum