Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 8344
Location: Dubuque, Iowa, 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 What will happen if we dont code STOP... Poha Eater COBOL Programming 4 Mon Jun 04, 2018 5:27 pm
No new posts JCL to set Return code when Time Out ... vinu78 JCL & VSAM 6 Wed May 30, 2018 11:27 am
This topic is locked: you cannot edit posts or make replies. Rexx code to find greater then symobl... Bharath Vikraman CLIST & REXX 8 Tue May 29, 2018 9:40 am
No new posts RESP2 code -502 pshongal CICS 6 Mon May 28, 2018 10:58 am
No new posts Code Coverage and static analysis too... Aditya.Srivastava PL/I & Assembler 2 Fri May 25, 2018 12:48 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us