MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Random read issue

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
infoman123
Beginner


Joined: 02 Nov 2004
Posts: 57
Topics: 20

PostPosted: Thu Sep 24, 2009 9:27 pm    Post subject: Random read issue Reply with quote

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
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Fri Sep 25, 2009 12:05 am    Post subject: Reply with quote

infoman123,

Please search before posting. Check this link

http://www.mvsforums.com/helpboards/viewtopic.php?t=1230

Kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
infoman123
Beginner


Joined: 02 Nov 2004
Posts: 57
Topics: 20

PostPosted: Fri Sep 25, 2009 5:13 am    Post subject: Reply with quote

Hi Kolusu,

Thanks for this link. I have searched the forum, but i think my key word was not correct Very Happy

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group