Silvio, One thing to be careful of is that for every D type record in the CDS there is also an A type. Just deleting the D types would leave 'orphaned' A types. Of course, you can establish the name of the A types as it is a field within the D type, but this can be a lot of mucking around.
Casting my mind back a few (OK, a lot) years, I think we used to flip a bit in the D type record to say that the dataset was no longer required when we found uncatalogged datasets within the MCDS. IIRC it is in byte 6 somewhere (my REXX was called HSMFIX6!) Hope this helps a bit. Cheers, Chris -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Silvio Camplani Sent: Thursday, 16 July 2009 6:14 AM To: [email protected] Subject: FIXCDS usage Hello, I am trying to cleanup the error messages in an HSM log and I would like to get feedback on my proposed solution. ARC0734I ACTION=SCRATCH FRVOL=AAAAAA TOVOL=****** TRACKS= 0 RC= 14, REASON= 0, AGE= 618, DSN=$XX.XX.XXXXXXXX.XXXXX.G0172V00 Volume AAAAAA is no longer in use and the DSN is an old GDG that has been rolled off. The manual says: "Migration cleanup was trying to scratch an old migration copy from an SDSP data set but the ML1 volume was not mounted, so the scratch was not issued. If you want the copy deleted, have the migration volume mounted the next time migration cleanup is run. " Since I can no longer mount that volume I would like to issue the follwoing command: FIXCDS D '$XX.XX.XXXXXXXX.XXXXX.G0172V00' delete Since I have a lot of entries to 'fix', I would like to confirm that this is a safe approach. Thanks, Silvio ---------------------------------------------------------------------- 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

