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

how to know which datasets are occupying more or max space


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 8797
Location: Welsh Wales

PostPosted: Mon Mar 19, 2007 9:50 pm
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
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
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: 8797
Location: Welsh Wales

PostPosted: Fri Jan 23, 2009 5:28 pm
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
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
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
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: 8797
Location: Welsh Wales

PostPosted: Wed Jan 28, 2009 12:18 pm
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

Superior Member


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

PostPosted: Wed Jan 28, 2009 2:52 pm
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Jan 28, 2009 2:54 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Merging 2 datasets into one DFSORT/ICETOOL 1
No new posts Merge 2 lines based on Space from a S... DFSORT/ICETOOL 5
No new posts PL/I, VB Datasets and the RDW PL/I & Assembler 4
No new posts Allocated space calculation from DCOL... PL/I & Assembler 3
Search our Forums:

Back to Top