This is what I use when cleaning up Catalogs. This job will move the entries to the correct catalog without having to do any extra work. After you have them moved to the correct catalog define your alias and you will see the data sets. With this if you are just moving a few data sets it has no impact but if say you are moving 1,000 data sets you would want to scheduled that when there is very low usage.
//REPROCAT EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=* //SYSIN DD * REPRO - INDATASET(CATALOG.ABCZ14.MASTER ) - OUTDATASET(CATALOG.TSO.USER) LEVEL(TSOU01) MERGECAT /* Michael Saraco Systems Consultant From: esmie moo <[EMAIL PROTECTED]> To: IBM-MAIN@BAMA.UA.EDU Date: 02/27/2008 07:34 AM Subject: CATALOG QUESTION - CORRECT AN ALIAS PROBLEM Good Morning Gentle Readers, I am working on a problem regarding a TSO alias which was not created but for some unexplicable reason I find about 15 dsns have been cataloged in the MCAT. My question is how can I fix this problem - have the dsns created in the proper UCAT. I looked at the option of using REPRO MERGECAT in the IDCAMS doc. Is that the correct decision? My plan is to define the alias in the proper UCAT and then execute the following jcl. //STEP1 EXEC PGM=IDCAMS,REGION=2048K,TIME=1440 //SYSPRINT DD SYSOUT=* //SYSIN DD * REPRO - INDATASET(SYS1.SHR.MCAT) - OUTDATASET(MBC.CSTMCAT) - ENTRIES(CTPRX23) - MERGECAT /* Will this do the job? Am I missing something? I would appreciate any suggestions or comments. Thanks in advance. --------------------------------- Looking for the perfect gift? Give the gift of Flickr! ---------------------------------------------------------------------- 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