IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Can I do simple read when another READNEXT is open?


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
raghavendra_p_sarvade

New User


Joined: 17 Oct 2006
Posts: 32

PostPosted: Sat Sep 12, 2009 6:47 pm
Reply with quote

HI,

I just happened to see that there is a READ for UPDATE statement on a Vsam file.

But this is executed when that file already performed a STARTBR and one READNEXT statement. But the ENDBR is not executed still.

I get an RESP Code of 13 and RESP2 code of 80. Can someone help?

Thanks,
Raghav
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Sat Sep 12, 2009 7:47 pm
Reply with quote

Yes, don't do a READ for UPDATE when there is an open STARTBR. End the browse, then do your update, then do another STARTBR if you need to.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Calling an Open C library function in... CICS 1
No new posts Random read in ESDS file by using RBA JCL & VSAM 6
No new posts VSAM return code 23 - for a Random read COBOL Programming 4
No new posts Open VSAM File in IMS DC Region - DFS... IMS DB/DC 0
Search our Forums:

Back to Top