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

Lock termination with RR isolation Level


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

New User


Joined: 25 Jan 2010
Posts: 11
Location: Noida

PostPosted: Mon Dec 13, 2010 8:56 pm
Reply with quote

Hi all,

As we know , RR isolation level Locks are terminated after the COMMIT is performed.

Suppose, my program is reading some data from from Db2 table twice, once for creating a Detailed report and again for creating some summary report. Program Does not have ANy COMMIT statement, as it is only reading from the Db2 table.

So when the lock will be terminated - At end of program or at some other point ?

Please reply.

Thanks
manoj
Back to top
View user's profile Send private message
GuyC

Senior Member


Joined: 11 Aug 2009
Posts: 1281
Location: Belgium

PostPosted: Mon Dec 13, 2010 10:16 pm
Reply with quote

if bound with RR : at the end of the program.
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 -> DB2

 


Similar Topics
Topic Forum Replies
No new posts How to load to DB2 with column level ... DB2 6
No new posts Lock Escalation DB2 3
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts ISRSUPC search utility - using high l... TSO/ISPF 2
No new posts JPM Reports for each DB2 V12 Function... DB2 0
Search our Forums:

Back to Top