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

How to find the DB2 Extents


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

New User


Joined: 01 Aug 2006
Posts: 2

PostPosted: Tue May 08, 2007 12:00 pm
Reply with quote

Aim going to RE-ORG the tables,so i want to check the DB2 table Extents(How many space it occupy).I don't know the command to find the DB2 table extents.
Back to top
View user's profile Send private message
MFRASHEED

Active User


Joined: 14 Jun 2005
Posts: 186
Location: USA

PostPosted: Tue May 08, 2007 8:01 pm
Reply with quote

In DB2 catalog table SYSIBM.SYSTABLEPART look for column EXTENTS
which provide the information.

Another way is via PLATINUM utility:

Enter the TABLESPACE name and use LC (LISTCAT) and look for column XT:

Code:

RQTSL  R11    ------------ RC/Q Table Space List ------------ 05-08-2007 09:28
COMMAND ===>                                                  SCROLL ===> PAGE
                                                                             
 DB2 Object ===> TS                   Option ===> L                           
Table Space ===> TESTTS              Creator ===> *        Where => N         
  Data Base ===> *                   Grantor ===> *                           
Loc: LOCAL ---------- SSID: DBTU ----------xxxx ----        LINE 01 OF 18    >
CMD       NAME     CREATOR   CREATEDBY DATABASE  BPOOL    PART PGZ STS N. TBLS
 _LC____ TESTTS   DBXX      DBXX      TESTDB01  BP3         4  4K  A        1
Back to top
View user's profile Send private message
Frederic Lavoie

New User


Joined: 07 May 2007
Posts: 6
Location: Ottawa

PostPosted: Wed May 09, 2007 12:27 am
Reply with quote

I think a stospace should has been ran prior to update the information in the catalog.
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 To find whether record count are true... DFSORT/ICETOOL 6
No new posts Find the size of a PS file before rea... COBOL Programming 13
No new posts Find the occurrence of Key Field (Par... DFSORT/ICETOOL 6
No new posts Find a record count/numeric is multip... COBOL Programming 1
No new posts Need to find a specific STRING COBOL Programming 11
Search our Forums:

Back to Top