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

Locking types


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

New User


Joined: 21 Oct 2003
Posts: 45

PostPosted: Fri Feb 20, 2004 3:44 pm
Reply with quote

What r the Locking types in DB2? Explain?
Back to top
View user's profile Send private message
gv_narayana_rao

New User


Joined: 21 Feb 2004
Posts: 10

PostPosted: Sat Feb 21, 2004 6:22 pm
Reply with quote

What r the Locking types in DB2? Explain?

Exclusive
Share
Update
Intent

Exclusive - only one user can read/write/update
Share - Only one user can update/write. Others r allowed to read
Update - (i will get u that later)
Intent - These r like indicators. If a job is using some table say "A"
and other job want to access the same. This lock jus says about the status of the table. That is it gives information about which job is currently using that and for what sort of operation and all related stuff.
Intent locks r further classified into different categories.
(I will get u the other information tommorrow).


I hope this will help u...
Back to top
View user's profile Send private message
franclin

New User


Joined: 23 May 2003
Posts: 11
Location: Chennai, India

PostPosted: Sun Feb 22, 2004 12:44 pm
Reply with quote

Hi,

There are four types of locking is available
ROW LOCK
PAGE LOCK
TABLE LOCK
TABLE SPACE LOCK

NOTE: ROW LOCK is introduced by DB2 version 4.

Thanks & Regards
Suman.
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 Types of variables REXX TSO/ISPF 2
No new posts DB2 10.1 Share level locking and Sele... DB2 1
This topic is locked: you cannot edit posts or make replies. Locking question IMS DB/DC 1
No new posts Personal Comm. - User Defined Transfe... IBM Tools 6
No new posts GDG Locking after reaching maximum limit JCL & VSAM 17
Search our Forums:

Back to Top