Once a file is migrated you cannot change the management class without recalling the data set. Management class is driven during allocation, recall and rename. The ALTER command will recall the data set. The suggestion is to produce a list of the migrated data sets that have the management class in question. You can create your own REXX or SAS code to perform the ALTER on a controlled set of data sets each time of execution. As with Mr. MacNeil, SAS was the method I used many, many years ago. HLIST and DCOLLECT are two examples of creating the list of data sets to be altered. There are also ISV products that will perform the task for you. MAINVIEW SRM from BMC as a report that will build ALTER Control cards for you and perform the HRECALL based on the users input. There is also a component that will override the Mangagement Class for you on all new allocations without having to update the ACS routines. The same job that will perform the ALTER against the migrated data sets will also do anything that is on primary DASD and considered "active".
Michael Spencer BMC Software -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Ted MacNEIL Sent: Tuesday, March 17, 2009 4:21 PM To: [email protected] Subject: Re: changing management class on about 10000 datasets >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. You're correct. You cannot change any migrated dataset, at rest. The ACS routines are only re-driven at recall. And, ALTER will probably recall. Then, you are stuck until the new retention period has expired. I'd suggest an HLIST output, parsed by a REXX programme to generate HDELs. I've not done it myself, but HLIST output is eminately PARSable. I did do it, with SAS, 20 years ago. - Too busy driving to stop for gas! ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] 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 [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

