I'm in the same boat. We have a monthly job that reads a list of migrated files, and for those that are test and been archived longer that x years, we create HDELETE statements. With this in place, we never bothered to define separate management class for the test files.
Mike Wickman -----Original Message----- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Pommier, Rex R. Sent: Tuesday, March 17, 2009 2:53 PM To: IBM-MAIN@bama.ua.edu Subject: [IBM-MAIN] changing management class on about 10000 datasets Hi list, I checked the documentation and the archives and either what I want to do isn't available or I missed it, so please bear with me. Is there some way to change the management class of a number of SMS managed datasets (roughly 10,000 so I don't really want to IDCAMS ALTER all of them)? My situation is that before I got here, the decision was made to use the same management class for test and production datasets. This class has "never expire" set on it. I want to create a new management class for the test datasets that has an expiration date so that since the developers don't clean up after themselves, I can. However, I have about 10K test datasets that still have the production mgmt class assigned to them. The vast majority of these datasets are on ML2 tapes and I would like there to be some way to tell SMS to assign the new mgmt class to all these datasets so they automatically get migrated to the bit bucket. Some of the test datasets are over 10 years old and the developers have agreed that there should be an automatic purge of them (the datasets, not the developers...). >From what I've gathered, the new mgmt class will only apply to new datasets or the old ones if they get migrated or recalled, but I can't mass change these old datasets while they are at rest. TIA for any help you can provide. Rex ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html <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 lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html