View previous topic :: View next topic
|
Author |
Message |
ramvivek
New User
Joined: 23 Oct 2006 Posts: 13
|
|
|
|
My CICS code has the following piece of code :
EXEC CICS HANDLE CONDITION
DSIDERR(FILE-OPEN-ERROR)
NOTFND(RECORD-NOT-FOUND)
NOTOPEN(FILE-NOT-OPEN)
DISABLED(FILE-NOT-OPEN)
LOCKED(DEADLOCK-ERR)
RECORDBUSY(DEADLOCK-ERR)
END-EXEC.
EXEC CICS READ
DATASET(CAGE-MASTER-FILE)
INTO(CAGE-CONTROL-RECORD)
LENGTH(CAG-REC-LEN)
RIDFLD(CAGE-KEY)
UPDATE
NOSUSPEND
END-EXEC.
The CICS READ is issuing a invalid req with EIBRESP 10 and EIBRESP2 37. If I remove NOSUSPEND, then its working fine. What could be the reason and how can we resolve this ?
Thanks,
Ram. |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
Interesting.....
Are the resp and resp2 decimal or hex values?
Is the file RLS? |
|
Back to top |
|
|
ramvivek
New User
Joined: 23 Oct 2006 Posts: 13
|
|
|
|
values are in decimal;
the file is VSAM file. What is RLS file ? |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
Back to top |
|
|
ramvivek
New User
Joined: 23 Oct 2006 Posts: 13
|
|
|
|
sorry, the response values are in HEX.
I am using the NOSUSPEND option to resolve a deadlock between the records being updated by 2 diff transactions.
-- Ram. |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
ramvivek wrote: |
sorry, the response values are in HEX. |
That makes even less sense, INVREQ is a X'10'....
Quote: |
I am using the NOSUSPEND option to resolve a deadlock between the records being updated by 2 diff transactions. |
Is the file RLS? |
|
Back to top |
|
|
|