IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

after REWRITE Response code - EIBRESP 21 eibresp2 110


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Arun bv

New User


Joined: 29 Dec 2010
Posts: 41
Location: Mumbai

PostPosted: Wed Jul 20, 2011 10:18 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Jul 20, 2011 7:35 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Jul 20, 2011 8:09 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts Parallelization in CICS to reduce res... CICS 4
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts MQ response when MQGET of a stopped q... Java & MQSeries 2
Search our Forums:

Back to Top