Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

after REWRITE Response code - EIBRESP 21 eibresp2 110

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: after REWRITE Response code - EIBRESP 21 eibresp2 110
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

Site Director


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

PostPosted: Wed Jul 20, 2011 7:35 pm    Post subject:
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:
http://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: 8117
Location: East Dubuque, Illinois, USA

PostPosted: Wed Jul 20, 2011 8:09 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts UNIT=AFF for Easytrieve code gandikk JCL & VSAM 7 Wed Jul 12, 2017 11:42 pm
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm
No new posts Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us