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
 
How to find Table-space and Index-space files for a table?

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

New User


Joined: 20 Jun 2015
Posts: 26
Location: INDIA

PostPosted: Wed Feb 03, 2016 6:16 pm    Post subject: How to find Table-space and Index-space files for a table?
Reply with quote

Hi all,

I have a huge list of tables for which I am required to find the table-space and index-space files. Currently I am using BMC tool to find this information.

There are SYSIBM.SYSTABLESPACE and SYSIBM.SYSINDEXES tables. I believe there is a pattern for the names of relevant VSAM files. If there is a method I can use these details from these tables and form the file names, it will be great. I wouldn't argue to stick to my assumption if you advise me another efficient way to achieve this.

Kindly share your expertise.

Thanks,
Sivaguru
Back to top
View user's profile Send private message

Pandora-Box

Moderator


Joined: 07 Sep 2006
Posts: 1542
Location: Andromeda Galaxy

PostPosted: Thu Feb 04, 2016 9:46 am    Post subject:
Reply with quote

Talk to your DBA they should know the HLQ of those datasets.
Also, There should be an option within BMC to find those filenames. I am not sure though.

But, having said that just curious what are going to do knowing the file names.
Back to top
View user's profile Send private message
venksiv

New User


Joined: 20 Jun 2015
Posts: 26
Location: INDIA

PostPosted: Thu Feb 04, 2016 6:55 pm    Post subject:
Reply with quote

Thanks for your suggestion, Pandora-Box.

I am going to calculate the space occupied by these particular tables for another analysis.
Back to top
View user's profile Send private message
Pandora-Box

Moderator


Joined: 07 Sep 2006
Posts: 1542
Location: Andromeda Galaxy

PostPosted: Thu Feb 04, 2016 8:20 pm    Post subject:
Reply with quote

I get it the EXTENTS will be needed and watched by DBAs regular intervals

As said get in touch with DBA they should be able to assist you
Back to top
View user's profile Send private message
GuyC

Senior Member


Joined: 11 Aug 2009
Posts: 1281
Location: Belgium

PostPosted: Fri Feb 12, 2016 5:40 pm    Post subject:
Reply with quote

http://itknowledgeexchange.techtarget.com/itanswers/tables-in-db2-z-os/

Quote:
high level qualifier . DSNDBx . data base name . space name . I000x. A00x
where
high level qualifier depends on your installation and VCAT name, and DB2 STOGRP definitions
Back to top
View user's profile Send private message
venksiv

New User


Joined: 20 Jun 2015
Posts: 26
Location: INDIA

PostPosted: Fri Feb 12, 2016 9:08 pm    Post subject: Reply to: How to find Table-space and Index-space files for a table?
Reply with quote

Hi GuyC,

100% true. To find this, I took 4-5 table names, found their table space names from systables and compared to the dataset BMC tool displayed for 'ds' line command. That pattern matches to your answer.

Thank you so much for your response. This is brilliant!

I will have to do the same for index space datasets and use it for further analysis.
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 Split files upto certain limit based ... bubbu75 DFSORT/ICETOOL 5 Tue Nov 14, 2017 11:11 pm
No new posts Copy selected columns from 2 input fi... Poha Eater DFSORT/ICETOOL 3 Thu Nov 02, 2017 3:43 pm
No new posts Finding difference between two PS fil... Vignesh Sid SYNCSORT 5 Mon Oct 30, 2017 1:13 pm
No new posts NDM 300 files from mainframe to linux shreya19 All Other Mainframe Topics 2 Thu Oct 26, 2017 11:40 am
No new posts Update table without cursor Ron Klop DB2 3 Wed Oct 11, 2017 1:06 pm

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