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 calulate space of deleted datasets?

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

New User


Joined: 26 Jun 2007
Posts: 20
Location: Chennai

PostPosted: Thu Apr 17, 2008 7:44 pm    Post subject: How to calulate space of deleted datasets?
Reply with quote

I just thought of doing a process improvement to my application, I found
around 4000 test datasets can be deleted. I just wrote a simple code with 2 steps, in the first step using SORT utility it adds a DELETE before each and every dataset stored in a flatfile.In my second step I used a IDCAMS
utility to delete the datasets.

Now my management need an informatin regarding the space i saved by deleting them and also its equivalnet financial value.

Could anyone please guide me to calculate the space occupied by this datasets approximately and also it s financial value.

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

CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Thu Apr 17, 2008 7:53 pm    Post subject:
Reply with quote

If they are gone and you didn't already have the space saved, maybe SMF records might help......
Financial value is a subjective thing......
Your management should have mentioned its needs before the delete......
Back to top
View user's profile Send private message
MoganaKumaran

New User


Joined: 26 Jun 2007
Posts: 20
Location: Chennai

PostPosted: Thu Apr 17, 2008 8:00 pm    Post subject: HI CICS Guy
Reply with quote

I understand this but this is only a first phase of my process, yet I have another 5000 datasets to be deleted. Can you suggest me some information on how to calculate space occupied by a datset in MB.

Thanks ,
Mohan
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Thu Apr 17, 2008 8:03 pm    Post subject:
Reply with quote

Look at their curent allocations, add them together?
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10308
Location: italy

PostPosted: Thu Apr 17, 2008 8:06 pm    Post subject: Reply to: How to calulate space of deleted datasets?
Reply with quote

I wonder wahy with such a huge number of datasets, there is not any storage accounting in place yet...

anyway for a good estimate You can start by running an
IDCAMS DCOLLECT ( which by the way it will also collect the MCDS infor )

wich will collect the exact info for all the space utilization
and theYou can start by looking at

File # 206 DCOLLECT REXX execs from Linnea Nichols
http://www.cbttape.org/ftp/cbt/CBT206.zip
a reasonable good tool ( must be reviewed, but a very good starting point )

or look at the dcollect dfsort samples... another way of getting spce statistics
Back to top
View user's profile Send private message
MoganaKumaran

New User


Joined: 26 Jun 2007
Posts: 20
Location: Chennai

PostPosted: Thu Apr 17, 2008 8:06 pm    Post subject: HI
Reply with quote

Thanks for your info.

If you dont mind can you give me an example for this.Also i have around 4000 datasets to be deleted , If i start to recall all of them and identify the space it s going to cost me more than deletion of them.

can u correct me if I m wrong?

Thanks in advance,
Mohan
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10308
Location: italy

PostPosted: Thu Apr 17, 2008 8:08 pm    Post subject: Reply to: How to calulate space of deleted datasets?
Reply with quote

see my previous post....
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 Apr 18, 2008 12:03 pm    Post subject:
Reply with quote

Mmmmmmmmmmmmm, interesting concept.

Just how much DASD space does an ML2 dataset use ?
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