Many years ago, I wrote a REXX EXEC to mass delete migrated files. It calls IGGCSI00 with a wilcard search argument to build a list of matching data set names to be deleted. I've deleted many thousands of migrated data sets with "one" command, but millions would probably exceed its capacity. However, you could modify IBM's SYS1.SAMPLIB(IGGICSRX) to delete them.
> -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] > On Behalf Of David G. Schlecht > Sent: Tuesday, February 05, 2013 5:25 PM > To: [email protected] > Subject: Deleting old HSM backups > > We have been backing up millions of unnecessary datasets. I am changing > HSM to not back them up but would like a reasonably easy way to delete > the millions of backups that already exist. > > Is there anything short of generating millions of lines of JCL. Is > there any way to get HSM to delete these backups? > > David G. Schlecht | Information Technology Professional > State of Nevada | Department of Administration | Enterprise IT Services > > > ________________________________ > This communication, including any attachments, may contain confidential > information and is intended only for the individual or entity to which > it is addressed. Any review, dissemination or copying of this > communication by anyone other than the intended recipient is strictly > prohibited. If you are not the intended recipient, please contact the > sender by reply e-mail and delete all copies of the original message. > > ---------------------------------------------------------------------- > 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
