Thanks Scott and Kathleen.  The SEARCHVOLUME command gave me what I
wanted.

Rex



-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On
Behalf Of Kathleen McLaughlin
Sent: Monday, June 15, 2009 3:35 PM
To: [email protected]
Subject: Re: How to delete multiple volumes from DFSMSrmm

Hello Rex,

You might want to try a RMMCLIST batch job.  With it you can get RMM 
to generate a listing of the volsers and then have RMM do whatever 
you want to them.  Here's a sample of the code we use:
//SEARCH#  EXEC PGM=IKJEFT01,DYNAMNBR=20
//SYSTSPRT DD SYSOUT=*
//RMMCLIST DD DSN=XXX.RMM.CLIST,UNIT=SYSDA,SPACE=(CYL,(15,5))
//SYSTSIN  DD *
 RMM SV VOLUME(123*)                  -
  OWNER(*) LIM(*) ST(SCRATCH)          -
  CLIST('RMM DV ',' REMOVE')
 EXEC 'XXX.RMM.CLIST'
/*

If this is your first time using the RMMCLIST, you may want to change 
the "CLIST('RMM DV ',' REMOVE')" to "CLIST('RMM LV ')" to get a better 
feel for it.

Good luck,

Kathleen

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