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 know which datasets are occupying more or max space

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
GANAPATH

New User


Joined: 06 Mar 2006
Posts: 35

PostPosted: Mon Mar 19, 2007 9:41 pm    Post subject: how to know which datasets are occupying more or max space
Reply with quote

I have many datasets, more than 50,000 how can i find out which files are occupying more space, is there a simple command to know this or is there a JCl that i can run with the high level qualifier of my datset name.

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

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Mar 19, 2007 9:50 pm    Post subject:
Reply with quote

What DASD reporting software do you have, if any ?

Can't recall off the top of my head if DFdss (ADRDSSU) has the ability to select on size, but that may be worth investigating.
Back to top
View user's profile Send private message
wanderer

Active User


Joined: 05 Feb 2007
Posts: 199
Location: Sri Lanka

PostPosted: Tue Mar 20, 2007 4:34 am    Post subject:
Reply with quote

Just in case if they are all your datasets on your high level node, you can sort the list from ispf 3.4
Back to top
View user's profile Send private message
DB2 Guy

New User


Joined: 28 Oct 2008
Posts: 98
Location: Cubicle

PostPosted: Fri Jan 23, 2009 5:13 pm    Post subject:
Reply with quote

Hi,

Do we really have some way of getting the size of DSNs as an application programmer?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Fri Jan 23, 2009 5:28 pm    Post subject:
Reply with quote

3.4 will give you sizes, DCOLLECT records will tell you, ISMF (if you have access) will tell you.

So yes, but depending on your security setup not all of the methods may be available.

What about the storage people, they should know
Back to top
View user's profile Send private message
rajulan

New User


Joined: 11 Jan 2008
Posts: 66
Location: India

PostPosted: Tue Jan 27, 2009 12:29 pm    Post subject:
Reply with quote

ISPF- 3.4-It will list you the dataset name. Then In the command line just type SORT SIZE. Then you will come to know the size of the dataset. (descending order)

Thanks,
Rajulan.
Back to top
View user's profile Send private message
DB2 Guy

New User


Joined: 28 Oct 2008
Posts: 98
Location: Cubicle

PostPosted: Wed Jan 28, 2009 12:07 pm    Post subject:
Reply with quote

Hi,

Thanks Big Brothers. That I understand - if we hit PF11 then too we can get those tracks details - something like:
Code:
XXXXXX.NODE2.JCL                               45   82   1  3390
XXXXXX.NODE2.JCL.BKUP                          45   71   1  3390
XXXXXX.NODE2.JCL.BKUP10                        45   71   1  3390
XXXXXX.NODE2.JCL.SEP06                         30  100   1  3390
XXXXXX.NODE2.COPYLIB                           15   46   1  3390
XXXXXX.NODE2.DATALIB                           15    6   1  3390
XXXXXX.NODE2.JCL.BKUP1                         15   20   1  3390
XXXXXX.NODE2.JCL.BKUP2                         15   40   1  3390
XXXXXX.NODE2.JCL.IBM                           15   20   1  3390
XXXXXX.NODE2.PDS                               15   46   1  3390
XXXXXX.NODE2.REXX.EXEC                         15   53   1  3390

My concen is to calculate the storage costs for these DSNs - can someone please asssit me in this.

And how can we calculate the cost for tapes, PF11 does not work in case of Tapes ?
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Wed Jan 28, 2009 12:10 pm    Post subject:
Reply with quote

Storage costs are going to be site dependent. How can you expect to get an answer to that from a public forum such as this?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed Jan 28, 2009 12:18 pm    Post subject:
Reply with quote

If your site has MXG or MICS installed then the DASD statistics are probably readily available. I did once write a SAS program to calculate tape storage (alas no longer with me) but as Terry has quite rightly pointed out - charges and costs are totally site dependant.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Jan 28, 2009 2:52 pm    Post subject:
Reply with quote

Quote:
If your site has MXG or MICS installed
To access these your RACF IDs should have specifc rights..
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10308
Location: italy

PostPosted: Wed Jan 28, 2009 2:54 pm    Post subject: Reply to: how to know which datasets are occupying more or m
Reply with quote

the ISMF dialogs, the ISMF dialogs, ..., the ISMF dialogs
and the relative reporting facilities
Back to top
View user's profile Send private message
DB2 Guy

New User


Joined: 28 Oct 2008
Posts: 98
Location: Cubicle

PostPosted: Wed Jan 28, 2009 11:28 pm    Post subject:
Reply with quote

Calm down Big B...I know using ISMF I can get there; at my shop my RACF ID is allowed to issue "TSO ISMF" but I need to get these details for more than 10,000 DSNs.. and using this TSO command gives results very slow..

I've already suggested to my PM to get in touch with Storage Guys but we (us and storage guys) work in different time zones which is preventing us to get this exercise done little fast - and by the time I wanted to do put some efforts from my side..that's all.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
No new posts VSAM Space Allocation mrgnndhmk JCL & VSAM 7 Sat Apr 22, 2017 12:42 am
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm
This topic is locked: you cannot edit posts or make replies. Need help in estimating space of unlo... ashek15 IMS DB/DC 12 Fri Apr 07, 2017 5:11 am
No new posts Edit large number of datasets (QSAM) zh_lad TSO/ISPF 3 Tue Apr 04, 2017 6:08 pm

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