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

Still fighting to get correct answer - can you advise?


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

New User


Joined: 16 Sep 2005
Posts: 6

PostPosted: Sun Sep 25, 2005 9:50 pm
Reply with quote

Which of the following statements about lock compatibility are true?

A. USER1 can hold an IS lock on a page at the same time USER2 holds an IX lock on the same page.

B. USER1 can hold a U lock on a page at the same time USER2 holds an S lock on the same page.

C. USER1 can hold an IX lock on a page at the same time USER2 holds a U lock on the same page.

D. USER1 and USER2 can each hold an IX lock on the same page at the same time.

E. USER1 and USER2 can each hold a U lock on the same page at the same time.
Back to top
View user's profile Send private message
ikumar

New User


Joined: 02 Aug 2005
Posts: 81

PostPosted: Mon Sep 26, 2005 1:12 am
Reply with quote

Option B is correct, not sure about others
Back to top
View user's profile Send private message
anadhamohan

New User


Joined: 27 Sep 2005
Posts: 25
Location: india

PostPosted: Wed Sep 28, 2005 10:40 am
Reply with quote

Options E is correct, any number of users can have U lock on a page, its otherwise said as Read-only lock.
Option B is also correct, when a user is having IS lock then it's shared for other users also, but when the other user make any updations to the row contained in that page then it gets IX lock so no one can able to access that page.
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 Validating record count of a file is ... DFSORT/ICETOOL 13
No new posts Interviewers are surprised with my an... Mainframe Interview Questions 6
No new posts Maintain LIVE data for many sysplexes... PL/I & Assembler 6
No new posts ADRDSSU BY(REFDT... not selecting cor... IBM Tools 3
No new posts Need advise in calling DFSORT from REXX CLIST & REXX 9
Search our Forums:

Back to Top