Take a look at file 527 on the CBT tape.  Program(s) DADSM and LISTICAT.  Both 
programs do a scan of the disk volumes and generate reports on VTOC, VVDS, etc.

Matthew

On Fri, 14 Jun 2024 12:08:54 -0400, Mike Shaw <[email protected]> wrote:

>Tony,
>
>You can run in problem program state and key and issue a UCBSCAN macro to
>get a list of UCBs and UCB copies for that z/OS system. You can then run
>that returned list and choose only the online DASD UCBs. For each of those
>that you are interested in, issue an LSPACE SVC specifying the UCB address.
>That will get you a good picture of free space info for that volume, and
>it's quick.
>
>To go deeper and get a list of all data sets on the volume and/or a volume
>map, you have to read the VTOC and process it. You can do that without
>being APF authorized also, if the volume is allocated to your job step.
>
>The CVAFTST macro will tell you whether or not a particular DASD volume has
>an indexed VTOC or not.
>
>Mike Shaw
>MVS/QuickRef Support Group
>Chicago-Soft, Ltd.
>
>
>On Fri, Jun 14, 2024 at 11:20 AM Tony Thigpen <[email protected]> wrote:
>
>> All,
>>
>> I have a z/VSE program that I want to start using with z/OS. The program
>> issues several CCWs to the DS8000, such as SNS, SSS, RCD, & PSSF that
>> are either volume specific or subsystem specific. Not file specific.
>>
>> My first question is in the area of getting access to a specific volume
>> on z/OS.
>>
>> In z/VSE, I just do an ASSGN to the disk and issues the EXCPs.
>>
>> On z/OS, I expect I need to perform an OPEN against the volume using
>> something like:
>> //SOURCE DD UNIT=3390,VOL=SER=AVOLID,DISP=OLD
>>
>> Any pointers would be appreciated.
>>
>> My second question relates to 'authority'.
>>
>> On z/VSE, I have to tell the operating system that I am actually 'DSF'
>> before it will allow me to issue these CCWs.
>>
>> Do I have to do something special on z/OS?
>>
>>
>> Thanks,
>>
>> Tony Thigpen
>>
>> ----------------------------------------------------------------------
>> For IBM-MAIN subscribe / signoff / archive access instructions,
>> send email to [email protected] with the message: INFO IBM-MAIN
>>
>
>----------------------------------------------------------------------
>For IBM-MAIN subscribe / signoff / archive access instructions,
>send email to [email protected] with the message: INFO IBM-MAIN

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

Reply via email to