MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to calculate space savings in a PS file

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management
View previous topic :: View next topic  
Author Message
vak255
Intermediate


Joined: 10 Sep 2004
Posts: 384
Topics: 79

PostPosted: Tue May 20, 2014 11:52 am    Post subject: How to calculate space savings in a PS file Reply with quote

I have a PS file from which we are removing the invalid records.

This GDG has total of 4814326 records out of which 145965 records were invalid. Removing them will result in space saving of 3.03% .

Please find below the details.

Code:
Organization  . . . : PS     
Record format . . . : FB     
Record length . . . : 128   
Block size  . . . . : 27904 
1st extent cylinders: 199   
Secondary cylinders : 16     

Current Allocation             
 Allocated cylinders : 737     
 Allocated extents . : 5       
                               
                               
                               
Current Utilization             
 Used cylinders  . . : 737     
 Used extents  . . . : 5       


I like to know how should I convert this 3.03% to bytes. I know its not much but there are like 1000 files. so this will add up and my shop want me to list in bytes\tracks. Thanks for your valuable time.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12358
Topics: 75
Location: San Jose

PostPosted: Tue May 20, 2014 11:59 am    Post subject: Reply with quote

vak255,

You can use ISMF to generate reports for space usage before and after removing the invalid records.

Kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
vak255
Intermediate


Joined: 10 Sep 2004
Posts: 384
Topics: 79

PostPosted: Tue May 20, 2014 12:35 pm    Post subject: Reply with quote

Thanks Kolusu.
There are 1000s of files, I am trying to calculate it prior to removing the records.

So from the above sample, if I remove 145965 records from the file. Each record extends to 128.

so total space reduced is 145965 * 128 = 18683520 bytes ?
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12358
Topics: 75
Location: San Jose

PostPosted: Tue May 20, 2014 1:06 pm    Post subject: Reply with quote

vak255,

If the space is NOT released(RLSE parm in JCL) after the step completion then you won't see the free space even though you deleted the records. So make sure every step has RLSE coded.

ISMF gives you a lot of options to generate a report based on VOLUME and Dataset name filter.

Kolusu
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
vak255
Intermediate


Joined: 10 Sep 2004
Posts: 384
Topics: 79

PostPosted: Tue May 20, 2014 1:38 pm    Post subject: Reply with quote

Thanks for all the details.
The steps already has the RLSE coded.

How should I generate ISMF report?
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12358
Topics: 75
Location: San Jose

PostPosted: Tue May 20, 2014 3:59 pm    Post subject: Reply with quote

vak255 wrote:
How should I generate ISMF report?


Using the sample JCL for batch in the SYS1.SACBCNTL library
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
vak255
Intermediate


Joined: 10 Sep 2004
Posts: 384
Topics: 79

PostPosted: Tue May 20, 2014 10:11 pm    Post subject: Reply with quote

Thanks so much, Kolusu.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group