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 

Locks on Table

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


Joined: 27 Feb 2004
Posts: 5
Topics: 3

PostPosted: Mon Apr 05, 2004 5:16 am    Post subject: Locks on Table Reply with quote

Hello every body,

Could you please help me out, how is it possible to see whether a particular table is under some lock/deadlock in UDB Ver.8 ? I am trying to select records from a table but the query just keep on executing and never gives a result. I think that this particular table is under some lock.

Please advise how to see whether a table in UDB database is under lock and if it is, then how to remove the lock?

Please reply urgently.
Back to top
View user's profile Send private message
Tanuj
Beginner


Joined: 27 Feb 2004
Posts: 5
Topics: 3

PostPosted: Mon Apr 05, 2004 6:31 am    Post subject: Reply with quote

Hi Ravi, thanks for the advice.

But I wanted to know how to find whether a table in UDB database is under a Lock or not. And how to remove locks from tables and command used to do that?
Back to top
View user's profile Send private message
bauer
Intermediate


Joined: 10 Oct 2003
Posts: 317
Topics: 50
Location: Germany

PostPosted: Wed Apr 07, 2004 2:32 pm    Post subject: Reply with quote

Using the command

-DIS DB(database) SPACE(tsname) USE

from DSN it is possible to view the usage of an specif tablespace in an specific database.
Back to top
View user's profile Send private message
Manas Biswal
Intermediate


Joined: 29 Nov 2002
Posts: 382
Topics: 27
Location: Chennai, India

PostPosted: Fri Apr 09, 2004 8:22 am    Post subject: Reply with quote

bauer,

Will -DIS DB("Database Name") SPACENAM("Tablespacename') LOCKS

not be a better option than "USE".

Regards,
Manas
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
bauer
Intermediate


Joined: 10 Oct 2003
Posts: 317
Topics: 50
Location: Germany

PostPosted: Sat Apr 10, 2004 12:10 pm    Post subject: Reply with quote

Yes, of course.
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 -> Database 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