View previous topic :: View next topic |
Author |
Message |
vak255 Intermediate
Joined: 10 Sep 2004 Posts: 384 Topics: 79
|
Posted: Tue May 20, 2014 11:52 am Post subject: How to calculate space savings in a PS file |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Tue May 20, 2014 11:59 am Post subject: |
|
|
vak255,
You can use ISMF to generate reports for space usage before and after removing the invalid records.
Kolusu |
|
Back to top |
|
|
vak255 Intermediate
Joined: 10 Sep 2004 Posts: 384 Topics: 79
|
Posted: Tue May 20, 2014 12:35 pm Post subject: |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Tue May 20, 2014 1:06 pm Post subject: |
|
|
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
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
vak255 Intermediate
Joined: 10 Sep 2004 Posts: 384 Topics: 79
|
Posted: Tue May 20, 2014 1:38 pm Post subject: |
|
|
Thanks for all the details.
The steps already has the RLSE coded.
How should I generate ISMF report? |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
vak255 Intermediate
Joined: 10 Sep 2004 Posts: 384 Topics: 79
|
Posted: Tue May 20, 2014 10:11 pm Post subject: |
|
|
Thanks so much, Kolusu. |
|
Back to top |
|
|
|
|