Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Lock size of Db2 Table

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
Elixir

Active User


Joined: 08 Feb 2009
Posts: 116
Location: CHENNAI/NEW JERSEY - INDIA/USA

PostPosted: Mon Mar 12, 2012 3:26 am    Post subject: Lock size of Db2 Table
Reply with quote

Hi All,

How to obtaing the Lock size defined for a DB2 table?
Back to top
View user's profile Send private message

saiprasadh

Active User


Joined: 20 Sep 2006
Posts: 154
Location: US

PostPosted: Mon Mar 12, 2012 7:45 am    Post subject:
Reply with quote

Below query will provide LOCK Size defined for a table.

Code:
 SELECT B.NAME,A.LOCKRULE
 FROM SYSIBM.SYSTABLESPACE A,SYSIBM.SYSTABLES B
 WHERE B.NAME = <TABLE_NAME>
 AND  B.TYPE = 'T'
    AND A.NAME = B.TSNAME
 WITH UR;




Quote:
Lock size of the table space:
A Any
L Large object (LOB)
P Page
R Row
S Table space
T Table
X implicitly created XML table space
Back to top
View user's profile Send private message
Elixir

Active User


Joined: 08 Feb 2009
Posts: 116
Location: CHENNAI/NEW JERSEY - INDIA/USA

PostPosted: Mon Mar 12, 2012 10:56 pm    Post subject:
Reply with quote

Sai,

Thanks!

Please let me know how to get numeric Value of Lock Size associated to the Lockrule.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10310
Location: italy

PostPosted: Mon Mar 12, 2012 11:02 pm    Post subject: Reply to: Lock size of Db2 Table
Reply with quote

why not look Yourself at the manual for the names, description and format of the columns in the system tables ???
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Insert a Row_number into table useit DB2 2 Tue Sep 19, 2017 1:07 pm
No new posts how to see when the last read access ... Mike 1304 DB2 1 Tue Sep 12, 2017 7:52 pm
No new posts JES2 job size field matching Windows ... SRICOBSAS All Other Mainframe Topics 4 Tue Sep 05, 2017 5:49 pm
No new posts PC (UTF-8) -> z/OS (EBCDIC) -> ... prino All Other Mainframe Topics 4 Fri Sep 01, 2017 1:47 am
No new posts Adding a userid to SMTP Security table Yolanda Harvey JCL & VSAM 1 Sun Aug 13, 2017 6:16 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us