For future reference the following command gave a list of dataset names,
not the HSM Backup names:

HSEND LIST DSN BCDS SELECT(VOLUME(tape##)) ODS('$xxx.HSM159') 

Takes a long time to run, at least on my system. 

-----Original Message-----
From: Perryman, Brian [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 04, 2006 10:50 AM
To: [email protected]
Subject: Re: HSM LIST TTOC for backup volumes

Not to worry folks, I've kind of cobbled together a solution in the end,
by running ICETOOL over the BCDS:

  SORT FROM(HSMBCDS) TO(EXTRACT) USING(HSMD)         
                                                     
  DISPLAY -                                          
     FROM(EXTRACT) -                                 
     LIST(REPORT) -                                  
     DATE TITLE('BCDS breakdown                      
     HEADER('Backdsn')    ON(65,44,CH) -             
     HEADER('Backtap')    ON(109,6,CH) -             
     HEADER('Backver')    ON(135,2,BI) -             
     BLANK                                           
                                                     
 //HSMDCNTL DD *                                     
  OPTION VLSHRT                                      
                                                     
  SORT FIELDS=(109,6,CH,A)                           
  INCLUDE COND=(47,1,BI,EQ,X'24')                    

Brian

--
This e-mail message is for the sole use of the intended recipient(s)and
may contain confidential and privileged information of Transaction
NetworkServices.  
Any unauthorized review, use, disclosure or distribution isprohibited.
If you are not the intended recipient, please contact thesender by reply
e-mail and destroy all copies of the original message.

----------------------------------------------------------------------
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

----------------------------------------------------------------------
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