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

Lock size of Db2 Table


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
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
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
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10903
Location: italy

PostPosted: Mon Mar 12, 2012 11:02 pm
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 All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts count contained values of several col... DB2 5
No new posts To join 2 tables and to join 3rd tabl... DB2 8
No new posts Multiple INSPECTS on a big size file COBOL Programming 6
No new posts Create a specific record/file based o... SYNCSORT 8
No new posts Extract ISPF table column headings CLIST & REXX 2
Search our Forums:


Back to Top