Even without CSI, as long as there is a list it can just be edited (chose your method, ISPF, rexx program, whatever) to have DELETE '...name...' in a flat file and executed in TSO batch or used as input to IDCAMS in batch. Using ISPF 3.4 and saving the list would work. May have to do that in batch also if some pattern can be used to match millions at once (to possibly increase allocation amounts).
Running this would be quicker than ISPF 3.4 (modify "L" or pass the parm as needed for HLQ / pattern) PROC 0 L(&SYSUID) G(SAVE) /* */ /* Quick ISPF save of data set names. This is much quicker */ /* than using OPT 3.4, because it does not do an obtain */ /* for each data set in the list because of STATS(NO). */ /* The dsn created will be USERID.SAVE.DATASETS */ /* */ ISPEXEC CONTROL ERRORS RETURN ISPEXEC LMDINIT LISTID(LISTID) LEVEL(&L) ISPEXEC LMDLIST LISTID(&LISTID) OPTION(SAVE) STATS(NO) GROUP(&G) WRITE COMPLETE!! RETURN CODE WAS &LASTCC ISPEXEC LMDFREE LISTID(&LISTID) -- Mark Zelden - Zelden Consulting Services - z/OS, OS/390 and MVS mailto:[email protected] Mark's MVS Utilities: http://www.mzelden.com/mvsutil.html Systems Programming expert at http://expertanswercenter.techtarget.com/ On Wed, 6 Feb 2013 15:27:24 -0500, Don Williams <[email protected]> wrote: >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 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
