Rex, I went through this same process a while back. I changed all of our datasets to new management classes due to a new naming convention we decided to implement. I generated the ALTER commands and issued them 1000 at a time (100 to a step). I had no issues with that process. The only issues I encountered were that the BCDS Backup Version Record (the C record) stores the management class name - thus if a dataset gets recovered from a backup it will get the old management class - and the MCDS Data Set Record (the D record) stores the management class name. These need to be updated as well to allow your space management processes to do the cleanup.
I originally altered the management classes in the catalog and then deleted the original mgmtclas'. All of the non-migrated data worked fine but the migrated data took errors during PSM due to the management class being gone. I then went in and updated the C and D records using FIXCDS and that solved the issue. Lots of commands and they will fill up your journal if you are not careful! HTH Thanks....Rick -----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: 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 ---------------------------------------------------------------------- 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