We had the same concern when we went from ca-disk and our home-grown cleanup routine to hsm. We do not us non-usage for the deletion selection, but pull migration date form hsm the build delete/purge hsm commands to keep non-used things from living forever.
-----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Hooper, John Sent: Tuesday, August 14, 2012 3:14 PM To: [email protected] Subject: [IBM-MAIN] How to update the last referenced date in the VTOC Hi all, We have a number development disk pools that were originally created without having the auto-migrate setting enabled. We would like to turn on auto-migrate but a large number of data sets would expire for non-usage and be deleted. To keep the masses happy we want to set the last referred date to "today" and then turn on auto-migrate for non-usage. I have been trying to figure out an efficient way to do this. I could write a REXX and VTOC listings to use IDCAMS PRINT to print a single record from each file. I could write a program to generate AMASPZAP statement to "zap" the VTOC but that just doesn't seem right and could get me in trouble with indexed VTOCS. Does anyone else have a better way to accomplish this? We have about 15,000 data sets involved with a mixture of VSAM and non-VSAM files - a number of which are multivolume. Correcting the ills of the past is always ugly. I would appreciate any additional ideas. John Hooper Delhaize America, LLC (formerly Food Lion) ************************************************************************** This electronic message may contain confidential or privileged information and is intended for the individual or entity named above. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this electronic transmission in error, please notify the sender immediately by using the e-mail address or by telephone (704-633-8250). ************************************************************************** ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN <font size="1"> <div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in'> </div> "This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system." </font> ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
