View previous topic :: View next topic
|
Author |
Message |
Arun bv
New User
Joined: 29 Dec 2010 Posts: 41 Location: Mumbai
|
|
|
|
i have following commands in my prog
EXEC CICS UNLOCK
DATASET ('eftnbk0')
END-EXEC.
unlock is successfull,then populate key for eftnbk0 file then
EXEC CICS READ
DATASET('eftnbk0')
INTO (WS-eftnbk0)
RIDFLD (K-MX-KEY)
RESP (WS-RESP-CODE)
UPDATE
END-EXEC.
then im trying to rewrite with new data for the same key
EXEC CICS REWRITE
FILE ('eftnbk0' )
FROM (WS-eftnbk0)
RESP (WS-RESP-CODE)
END-EXEC
when im executing rewrite im getting EIBRESP-21, eibresp2-110
which is nothing but illogic.and its happening only for this file ,,i have defined same above set of commands for other files ,those are getting rewritten successfully,,
can anyone tell why this is happening and how to avoid this ? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
can anyone tell why this is happening and how to avoid this |
Probably not from the little info that has been posted. . .
See if thie prior topic might help:
www.ibmmainframes.com/about24957.html
Also make sure the response is checked after EVERY exec cics. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
The CICS Application Programming Refernce manual explicitly refers you to another EIB field which you didn't bother to give us:
Quote: |
ILLOGIC (VSAM)
RESP2 values:
110
A VSAM error occurs that does not fall within one of the other CICS response categories.
(See EIBRCODE in the EXEC interface block; refer to Appendix A, "EXEC interface block" in topic A.0 for details.) |
|
|
Back to top |
|
|
|