View previous topic :: View next topic
|
Author |
Message |
GANAPATH
New User
Joined: 06 Mar 2006 Posts: 35
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
wanderer
Active User
Joined: 05 Feb 2007 Posts: 199 Location: Sri Lanka
|
|
|
|
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 |
|
|
DB2 Guy
New User
Joined: 28 Oct 2008 Posts: 98 Location: Cubicle
|
|
|
|
Hi,
Do we really have some way of getting the size of DSNs as an application programmer? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
rajulan
New User
Joined: 11 Jan 2008 Posts: 66 Location: India
|
|
|
|
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 |
|
|
DB2 Guy
New User
Joined: 28 Oct 2008 Posts: 98 Location: Cubicle
|
|
|
|
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 |
|
|
Terry Heinze
JCL Moderator
Joined: 14 Jul 2008 Posts: 1249 Location: Richfield, MN, USA
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Quote: |
If your site has MXG or MICS installed |
To access these your RACF IDs should have specifc rights.. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
the ISMF dialogs, the ISMF dialogs, ..., the ISMF dialogs
and the relative reporting facilities |
|
Back to top |
|
|
DB2 Guy
New User
Joined: 28 Oct 2008 Posts: 98 Location: Cubicle
|
|
|
|
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 |
|
|
|