Hello group, I'm wondering if there is a way to get the size of a temporary QSAM-Dataset programmatically without opening and seeking to the end of the file. The Program, which needs the site information must C (or Assembler) and runs in z/OS-Batch. I played around with fstat() but did not get my results. The best approach until now seem to me to use CALL ISPLINK and get via LMDLIST the zdlsize the used Tracks of the Dataset. But perhaps somebody has a better idea, perhaps I can use RDJFCB or BPXWDYN to get a bit easier to the values.
Any hint appreciated, with best regards Monika
