Retrieve PHYRECS/TRK without LISTCAT
Posted: Mon Apr 18, 2011 9:01 pm
Hi everyone,
I'm trying to retrieve the space occupied by some VSAM Files in TRACKS.
I could easily retrieve it by running and parsing the result of a LISTCAT.
But I was wondering if it's possible using another method.
- I tried using and parsing DCOLLECT in PL/I but the result aren't exactly the same
==> I retrieve HARBA and DCACISZ but i can't get the equivalent of PHYRECS/TRK, so that my result lacks of precision.
I assumed that the number of Block per Track is equal to round(56 664 / Blksize) but unfortunately it's not always true.
- I tried using IGGCSI via HLASM, and I get the same result
Is there any other way to get the actual number of Block per track
Thanks
I'm trying to retrieve the space occupied by some VSAM Files in TRACKS.
I could easily retrieve it by running and parsing the result of a LISTCAT.
But I was wondering if it's possible using another method.
- I tried using and parsing DCOLLECT in PL/I but the result aren't exactly the same
==> I retrieve HARBA and DCACISZ but i can't get the equivalent of PHYRECS/TRK, so that my result lacks of precision.
I assumed that the number of Block per Track is equal to round(56 664 / Blksize) but unfortunately it's not always true.
- I tried using IGGCSI via HLASM, and I get the same result
Is there any other way to get the actual number of Block per track
Thanks