View previous topic :: View next topic |
Author |
Message |
SK2007 Beginner
Joined: 25 Jan 2007 Posts: 40 Topics: 17
|
Posted: Tue Apr 03, 2007 4:15 pm Post subject: AFCG - Deadlock |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
SK2007 Beginner
Joined: 25 Jan 2007 Posts: 40 Topics: 17
|
Posted: Wed Apr 04, 2007 8:42 am Post subject: |
|
|
Thanks Kolusu. It is truely usefull. |
|
Back to top |
|
 |
|
|