MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AFCG - Deadlock

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
SK2007
Beginner


Joined: 25 Jan 2007
Posts: 40
Topics: 17

PostPosted: Tue Apr 03, 2007 4:15 pm    Post subject: AFCG - Deadlock Reply with quote

Hi,

While updating the file, I am getting the AFCG abend.
First I am reading the file with update, and then delete the record from that file. Then I am getting the AFCG abend.

The code for reading is
Code:

EXEC CICS
     READ DATASET ('xxxx')                   
     INTO (xxx-RECORD)             
     RIDFLD (WS-xxx-KEY)                             
     LENGTH (LENGTH OF xxxx-RECORD)
     EQUAL                                           
     UPDATE                                           
     NOHANDLE                                         
END-EXEC                                             

The code for delete
Code:

EXEC CICS
     DELETE DATASET ('xxxx')   
     RIDFLD (WS-xxx-KEY)               
END-EXEC                                 


Please help me.

Thanks
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Tue Apr 03, 2007 5:13 pm    Post subject: Reply with quote

SK2007,

check this link

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DFHG4B03/3.8.5?SHELF=&DT=20060725084233&CASE=

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
SK2007
Beginner


Joined: 25 Jan 2007
Posts: 40
Topics: 17

PostPosted: Wed Apr 04, 2007 8:42 am    Post subject: Reply with quote

Thanks Kolusu. It is truely usefull.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group