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

Calculate Db2 mainframe TS size


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

New User


Joined: 24 Oct 2006
Posts: 32
Location: India

PostPosted: Thu Feb 14, 2008 1:31 pm
Reply with quote

Hi All,

I need to calculate size os an existing tablespace in DB2 on mainframes.Is there any way to do it.

Thanks
Baskaran
Back to top
View user's profile Send private message
bbessa

New User


Joined: 03 Aug 2006
Posts: 13
Location: Brazil

PostPosted: Thu Feb 14, 2008 10:40 pm
Reply with quote

Hi,

You can read the HI-A-RBA field from the dataset to know the actual space allocated.

Try this:
Code:

LISTC entries('YOUR.DATASET.NAME.HERE') ALLOCATION



If you need to do this for a list of datasets, you can use the LMDLIST service from ISPF to build a list of datasets then loop through it to get the info your want.

My regards,

Bernardo
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 FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Mainframe openings in Techmahnidra fo... Mainframe Jobs 0
No new posts how to calculate SUM value for VB fil... DFSORT/ICETOOL 1
No new posts how to calculate SUM for VB file usin... JCL & VSAM 1
No new posts Using Java/C/C++ to retrieve dataset ... Java & MQSeries 6
Search our Forums:

Back to Top