Hi,
I have a situation where a dataset A.B.C is present in UCAT1 with alias defined 'A' and another UCAT2 with alias 'A.B' is defined. Diagnose throws error for dataset A.B.C to be present in another catalog.
So, I want to move the dataset A.B.C entry from UCAT1 to UCAT2. I tried to do IDCAMS delete NOSCRATCH, change NVR to UCAT2 in VVDS using ALTER(Catalog recovery program) and then IDCAMS DEFINE with RECATALOG.
But RECATALOG throws the below error.
IDC3014I CATALOG ERROR
IDC3009I ** VSAM CATALOG RETURN CODE IS 132 - REASON CODE IS IGG0CLEJ-18
IDC3003I FUNCTION TERMINATED. CONDITION CODE IS 12
Even after changing VVDS to correct UCAT, I don't know why Recatalog throws an error.
I heard IDCAMS REPRO with MERGECAT can help me move dataset entries between Catalogs.
Kindly help me in rectifying the above error and tell me if there is any other way to achieve the same.
Thanks in advance!
Recatalog Error:Moving a dataset entry from one cat to other
-
- Posts: 3
- Joined: Fri Apr 07, 2023 1:19 pm
- Skillset: Assembler, Data Management, Catalogs, VSAM, XDC, IPCS
- Referer: online
-
- Posts: 474
- Joined: Thu Mar 10, 2016 5:03 pm
- Skillset: assembler rexx zOS ispf racf smf
- Referer: saw it in the experts foprum thought I could help here
Re: Recatalog Error:Moving a dataset entry from one cat to o
Just do a REPRO MERGECAT.
-
- Posts: 474
- Joined: Thu Mar 10, 2016 5:03 pm
- Skillset: assembler rexx zOS ispf racf smf
- Referer: saw it in the experts foprum thought I could help here
Re: Recatalog Error:Moving a dataset entry from one cat to o
Something like this should work:
Code: Select all
REPRO MERGECAT -
INDATASET( CATALOG.MVS1) -
OUTDATASET(CATALOG.MVS2) -
ENT(MY.DATA.SET)
-
- Posts: 3
- Joined: Fri Apr 07, 2023 1:19 pm
- Skillset: Assembler, Data Management, Catalogs, VSAM, XDC, IPCS
- Referer: online
Re: Recatalog Error:Moving a dataset entry from one cat to o
Hi,
I know REPRO with MERGECAT would work. But I need to know with correct NVR pointing to UCAT2, why Recatalog throws catalog error. I want know if this can work with Define Recatalog option.
Thanks!
I know REPRO with MERGECAT would work. But I need to know with correct NVR pointing to UCAT2, why Recatalog throws catalog error. I want know if this can work with Define Recatalog option.
Thanks!
-
- Similar Topics
- Replies
- Views
- Last post
-
-
Multiple remote job entry writing to the same dataset
by MLK2348 » Wed Nov 15, 2023 3:55 am » in JCL - 1
- 2245
-
by willy jensen
View the latest post
Wed Nov 15, 2023 1:50 pm
-
-
-
How I am able to assemble an SMP/E module from ASSEM entry
by futohomok » Thu Mar 14, 2024 2:32 pm » in System programming - 0
- 2954
-
by futohomok
View the latest post
Thu Mar 14, 2024 2:32 pm
-
-
-
Ho can I to assemble any ASSEM entry in some target zone
by futohomok » Mon Oct 30, 2023 2:32 pm » in IMS DB/DC - 0
- 2214
-
by futohomok
View the latest post
Mon Oct 30, 2023 2:32 pm
-
-
-
Moving High-Values from Comp-3 - COBOL Ver 6.4
by girik1001 » Thu Jul 20, 2023 12:08 pm » in IBM Cobol - 1
- 3899
-
by sergeyken
View the latest post
Thu Jul 20, 2023 6:38 pm
-
-
- 12
- 3803
-
by RalphEagle
View the latest post
Fri Jul 30, 2021 1:00 pm