On 5/3/2016 11:29 AM, michelbutz wrote:
Hi
...<SNIP>...


Michael, since you said "...what is the VTOC..." it looks like you have a long row to hoe..

To read the VTOC of a DASD volume you can issue a RDJFCB for a DDNAME that is allocated to the volume, set the DSN in that JFCB to all x'04' characters, then use OPEN TYPE=J to open the VTOC with that JFCB.

You can then read the entire with EXCP or BSAM to get the DSCBs and interrogate each one in turn.

If you just want space info for one DS, maybe CVAF is better.

We have tried CVAF, BSAM, and EXCP; EXCP with a chained channel program is fastest. If you don't care about speed, then use CVAF.

Mike Shaw
MVS/QuickRef Support Group
Chicago-Soft, Ltd.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to