View previous topic :: View next topic |
Author |
Message |
infoman123 Beginner
Joined: 02 Nov 2004 Posts: 57 Topics: 20
|
Posted: Thu Sep 24, 2009 9:27 pm Post subject: Random read issue |
|
|
Hi All,
We are facing an issue in the batch for read random for a record.
One of the batch job is trying to read random a record in a file which is allocated to cics. Sometimes online transactions do a read random update on a record which this batch program trying to do a read random. The job is abending with "RECORD NOT FOUND". So the actual root cause is at the period of time online transaction was locking this record by Read Random Update.
Any suggestions to avoid the batch abend.
Regards |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
infoman123 Beginner
Joined: 02 Nov 2004 Posts: 57 Topics: 20
|
Posted: Fri Sep 25, 2009 5:13 am Post subject: |
|
|
Hi Kolusu,
Thanks for this link. I have searched the forum, but i think my key word was not correct
I understand from this that if we define the files with RLS, it can be read randomly eventhough its record is locked to cics txn.We have to use RLS=CR.
Is my understanding correct. |
|
Back to top |
|
|
|
|