Instead of using D U,  try using DS.

This will not get you the VOLSER for an offline device, but if you know the 
device address, you can check if it exists in the DSS and actually get some 
device characteristics from it (i.e. # of cyl). 

E.g. DS QD,0A80,1,RDC  will work for any device number and it will let you 
know if you have a UCB defined, if it is online (with VOLSER) or offline and 
how 
many cylinders. 

John

>If the volume is offline - it could be in any number of "funny" states - maybe 
halfway thru an ICKDSF init or clip - what would your program want to do with 
the data in this case?
>
>Unless you have a real pressing need to determine the volser (if any) of an 
offline volume (and lets be honest there are not very many reasons for this), 
then I would suggest forgetting about the offline volumes.
>


>>
>>How to deal with a volume that is valid but offline?  The D U fail because 
the volume is offline.  This is one issue I have been struggling with.
>>
>>How can I see the volumes when they are offline in REXX or through a 
Batch interface?  I know that ISMF can see volumes offline, but I have not 
found a way to emulate that outside of ISMF yet.
>>
>>Lizette
>>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to