IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

AFCG Abend in RLS


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Harsh Pawar

New User


Joined: 04 Jun 2008
Posts: 25
Location: Noida

PostPosted: Tue Jul 01, 2008 12:41 pm
Reply with quote

Hi ,

I am getting AFCG abend.

Previously I was using Non-RLS mode and not got AFCG. But after implementing RLS , it started.

Any help would be greatly appreciated.

Regards,
Harry
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1217
Location: Dublin, Ireland

PostPosted: Tue Jul 01, 2008 4:01 pm
Reply with quote

Abend AFCG in RLS suggests a conflict where using READ UPDATE. The necessary REWRITE, UNLOCK, DELETE, ENDBR is missing.

Garry.
Back to top
View user's profile Send private message
Harsh Pawar

New User


Joined: 04 Jun 2008
Posts: 25
Location: Noida

PostPosted: Fri Jul 04, 2008 11:21 am
Reply with quote

I got the resolution,
I was getting AFCG since i was updating the file by alternate-key as well as Base-key.

A transaction performing updates by the alternate key may be acquiring locks in a different order to a transaction performing updates by the base key. So mixing the two may cause dead-lock.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts Avoid job abend on dataset held by us... JCL & VSAM 6
No new posts After newcopy the CICS program user f... CICS 7
No new posts User ABEND U0476. Need help. IMS DB/DC 1
No new posts ABEND 0717 during starting IMS IMS DB/DC 0
No new posts Call an hlasm from REXX in batch and ... CLIST & REXX 4
Search our Forums:


Back to Top