On Thu, 27 Feb 2014 08:45:21 -0500, Bill Ashton wrote:

>
>I am looking for a COBOL interface to the catalog that would tell me for a
>given file:
>1. Allocation primary, secondary and units
>2. Used amount
>3. Number of volumes and their volsers in sequence
>4. SMS class/group names
>5. File type (DSNLARGE, etc.)
>
>Ideally, I would like to also get each extent info for each volume, but I
>expect I would have to read VTOCs for that, and it is not crucial here.
>
>Thanks for any ideas you have for helping me read the catalog from COBOL!
>

You could use the ISPF-DSINFO-Service from batch COBOL: 
http://publibfp.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/ispzsg90/2.7

Norbert Friemel

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to