Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

VSAM CAT RC IS 50 - IGG0CLE4-88

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
kbrahma

New User


Joined: 08 Oct 2007
Posts: 38
Location: Delhi

PostPosted: Sat Jan 19, 2013 12:27 pm    Post subject: VSAM CAT RC IS 50 - IGG0CLE4-88
Reply with quote

Hi Forum,

I tried to rename a VSAM file using the IDCAMS ALTER command but to my surprise when I renamed the CLUSTER file, it vanished (I did change the HLQ of the dataset, I think it has to do something with this). I then tried to rename the DATA and INDEX part as well, but they too are now uncataloged.

I can see the DATA and INDEX part, when I put in the volser but when I try to do a DEFINE RECATALOG for the VSAM file, I get the following message:-

DC3014I CATALOG
ERROR
DC3009I ** VSAM CATALOG RETURN CODE IS 50 - REASON CODE IS
IGG0CLE4-88
DC3003I FUNCTION TERMINATED. CONDITION CODE IS
12

I have read through the forum and tried some hit and trials but nothing seem to have hit the nail in the head.

So I was just wondering if the VSAM file is recoverable or not?

Thanks in advance,
Kush
Back to top
View user's profile Send private message

nevilh

Active User


Joined: 01 Sep 2006
Posts: 258

PostPosted: Sun Jan 20, 2013 6:25 pm    Post subject:
Reply with quote

You can only change the HLQ if the new HLQ is cataloged in the same USERCAT as the original HLQ. If the new HLQ cataloged in a different USERCAT you will exprience the phenomenum you are now seeing.
Basically you cannot rename a VSAM dataset and change the HLQ unless both HLQ's are in the same USERCAT.
Back to top
View user's profile Send private message
Pete Wilson

Active User


Joined: 31 Dec 2009
Posts: 440
Location: London

PostPosted: Fri Jan 25, 2013 10:08 am    Post subject:
Reply with quote

If you have renamed the Cluster and components and they have disappeared that is probably because the high level qualifier of the new name has an alias pointing to a different usercatalog. If you did a LISTCAT of your dataset specifying the CATALOG parameter with the name of the usercatalog the original Cluster name was in you would see the cluster there with the new name.

What you need to do is REPRO MERGECAT the entry for the new cluster name from the catalog it is in now to the catalog where the new hlq alias points to and it will magically reappear when you do a 3.4.

Alternatively, you can rename the Cluster and components back to the original names (you'll have to specify the CATALOG parameter point to the original catalog) in which case they'll also reappear on a 3.4 Once you have them back you can then use something like DFDSS (pgm=ADRDSSU) to DUMP the file and then do a RESTORE with RENAMEU to the new name which will properly catalog it into the new catalog for you.

PS: You need to understand what happens when you search for or create a dataset. The system will first look in the Mastercatalog to see if there is a Usercatalog ALIAS that matches the dataset name (this is usually the HLQ but can be up to the 3-4LQ). If there is an ALIAS, it will RELATE to a particular Usercatalog, and the system will then go to that Usercatalog to find or create the catalog entry for the dataset, which will tell the system what volume(s) it is on.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts VSAM Space Allocation mrgnndhmk JCL & VSAM 7 Sat Apr 22, 2017 12:42 am
No new posts Updating a VSAM file with DISP=OLD sheersh JCL & VSAM 8 Tue Mar 14, 2017 6:14 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts VSAM RLS=NRI while doing IDCAMS sheersh JCL & VSAM 1 Tue Mar 07, 2017 1:55 pm
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us