Hello Stephen, Thanks for your response. The file is indeed open for update in CICS but the key for which the random read failed was added quite some time back.
Thank you, Saurabh -----Original Message----- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Mednick Sent: Wednesday, April 23, 2008 12:59 PM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: VSAM random read error > -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:[EMAIL PROTECTED] On Behalf Of Saurabh Pandey > Sent: Wednesday, 23 April 2008 4:55 PM > To: IBM-MAIN@BAMA.UA.EDU > Subject: VSAM random read error > > Hello, > > We have a KSDS file being read randomly during daily batch > process. But the read fails with file-status 23 (record not > found). On analysing the abend, the record with the read-key > is always found in the file. This happens on a random basis - > once or twice a month. > > The job gets through successfully if we resubmit the job > (after the abend:w/o making any changes!) or introduce > another step to take a backup of the file and then use it(the > backup file) in the program. > > Initially I thought that the file was being updated by some > other program running concurrently. I checked the abended > job's execution time and found that no other program running > parallely was even using this file. > > I have seemingly exhausted any possibility I could think of. > Could it be related to the record being present in secondary > extents? I am getting wilder :) > > Does someone has an idea here? > > Thank you, > Saurabh > Are you sure that the file ***isn't*** open for update by another task such as CICS? Stephen Mednick Computer Supervisory Services Sydney, Australia ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html DISCLAIMER: This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html