When you delete with 'NSCR' a VVR record was left in the VVDS which doesn't match the new catalog. you must remove the alias , recatalog and then use IDCAM\DFDSS to move the catalog entery.
On Thu, Aug 28, 2014 at 11:13 AM, Beesley, Paul <paul.bees...@atos.net> wrote: > You should have left your VSAM dataset catalogued then used REPRO MERGECAT > to move the catalog entry. > > To resolve this, first run your RECATALOG job with a CATALOG( > master.catalog.name) added to the input. > Then, run an IDCAMS REPRO MERGECAT to move the catalog entry to the > catalog that is pointed to by your new alias. > > Paul > > > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@listserv.ua.edu] On > Behalf Of venkat kulkarni > Sent: Thursday, August 28, 2014 9:06 AM > To: IBM-MAIN@listserv.ua.edu > Subject: VSAM Dataset Catalog Issues > > I created some VSAM and NONVSAM dataset without creating alias. But After > realizing this, I used DELETE NSCR parameter to uncatalog these dataset and > then defined alias. > > I thought after defining the alias, all dataset including VSAM and NON > VSAM will be automatically catalogged as we defined alias, but it didn't. > > Now, I want to catalog my VSAM dataset, which are uncataloged now. Can > anybody help me. > > I used DEFINE CLUSTER RECATALOG parameter but it failed, > > //RECAT JOB (654),'VENKAT',CLASS=A, > // MSGCLASS=A,NOTIFY=&SYSUID > //S1 EXEC PGM=IDCAMS > //SYSPRINT DD SYSOUT=* > //SYSIN DD * > > DEFINE CLUSTER - > ( - > NAME(EMTE.FILE) - > VOLUME(WORK05) - > RECATALOG - > ) > /* > > > Output as below. > > > IDCAMS SYSTEM SERVICES > > DEFINE CLUSTER - > ( - > NAME(EMTE.FILE) - > VOLUME(WORK05) - > RECATALOG - > ) > IDC3014I CATALOG ERROR > IDC3009I ** VSAM CATALOG RETURN CODE IS 50 - REASON CODE IS IGG0CLE4-88 > IDC3003I FUNCTION TERMINATED. CONDITION CODE IS 12 > > IDC0002I IDCAMS PROCESSING COMPLETE. MAXIMUM CONDITION CODE WAS 12 > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, send email > to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > Atos, Atos Consulting, Worldline and Canopy The Open Cloud Company are > trading names used by the Atos group. The following trading entities are > registered in England and Wales: Atos IT Services UK Limited (registered > number 01245534), Atos Consulting Limited (registered number 04312380), > Atos Worldline UK Limited (registered number 08514184) and Canopy The Open > Cloud Company Limited (registration number 08011902). The registered office > for each is at 4 Triton Square, Regent’s Place, London, NW1 3HG.The VAT No. > for each is: GB232327983. > > This e-mail and the documents attached are confidential and intended > solely for the addressee, and may contain confidential or privileged > information. If you receive this e-mail in error, you are not authorised to > copy, disclose, use or retain it. Please notify the sender immediately and > delete this email from your systems. As emails may be intercepted, amended > or lost, they are not secure. Atos therefore can accept no liability for > any errors or their content. Although Atos endeavours to maintain a > virus-free network, we do not warrant that this transmission is virus-free > and can accept no liability for any damages resulting from any virus > transmitted. The risks are deemed to be accepted by everyone who > communicates with Atos by email. > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > -- ______________________ Best regards, Matan Cohen ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN