开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Re: Understanding PDS in MVS 3.8


 

开云体育

Thank you all :)

Since it was mentioned before, I knew that gaps had something to do, but I didn’t thought that all that “wasted” space was only because of gaps. And also, I didn’t know how to visualize/calculate the gaps.

Andre, where did you find that description of the gaps? I guess there is more interesting information where that text came from.

Kind Regards
--
Sergio Lindo Mansilla
Software developer with DevOps?tendencies
Portfolio:?https://binary-sequence.github.io/

El 18.11.2024, a las 19:36, Andre via groups.io <procritic@...> escribió:

Gentlemen,
?
Thank you for your contributions, it looks like we finally found real answer.
?
I have found the last peace of it:
<gaps.png>
?
In this text we see that there is four gaps that accompany each member in PDS dataset.
Also, i presume, that the same gaps are present at in directory block.
As Silvio Losa pointed out, there is 1729 cells in 3390 track.
?
55996bytes / 1729cells = 32bytes in one cell.
?
Now lets calculate gaps for one member only. As i said earlier, there is going to be two occurrences of those gaps,
one for member and other for directory block(?).
?
15.75cells + 7cells + 7.75cells + 6.75cells = 37.25 or 38 cells
?
38cells * 32byte = 1216bytes(for one set of gaps)
?
But in PDS with only one member we have two sets.
?
1216 * 2 = 2432(which is almost exactly the number of free space left in our experiment)
?
Lets proof our observations with second example.
When there was 14 members in PDS, free space was equal to 231 lines.
?
231 lines * 80bytes = 18480 bytes of free space
?
For 14 members in PDS we should have 15 sets of gaps.
?
1216bytes * 15 = 18240
?
BINGO!!
?
Thanks to Harold Grovesteen we now know that in emulated CKD drives all those gaps just collected at the track end.
Hope you found this investigation entertaining! :)
?
Best wishes,
Andre
?
?
?
?

Join [email protected] to automatically receive all group messages.