IBM MAINFRAME HELP FORUMS for COBOL, JCL, CICS, DB2, IMS etc...
Help & Support Forums for IBM Mainframe computers Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7, CA-11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, VSAM, ISPF, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
 

AFCG Abend in RLS

THIS IS AN ARCHIVE FORUM: CLICK HERE TO GO TO THE ORIGINAL TOPIC

 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> ABENDS & Debugging
View previous topic :: View next topic  
Author Message
Harsh Pawar



Joined: 04 Jun 2008
Posts: 3
Location: Noida

Posted: Tue Jul 01, 2008 12:41 pm    Post subject: AFCG Abend in RLS  

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  
Garry Carroll



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

Posted: Tue Jul 01, 2008 4:01 pm    Post subject:  

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

Garry.
Back to top  
Harsh Pawar



Joined: 04 Jun 2008
Posts: 3
Location: Noida

Posted: Fri Jul 04, 2008 11:21 am    Post subject: Reply to: AFCG Abend in RLS  

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  
 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> ABENDS & Debugging
Page 1 of 1
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM
Related Links