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

EIBRESP=22 causes


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

New User


Joined: 05 Sep 2006
Posts: 30
Location: Philippines

PostPosted: Tue Aug 05, 2008 3:32 pm
Reply with quote

hi guys,

i have this transaction that searches a DB2 table which encounters a host abend error. When I checked the cause, I've seen that it has a value of 22 in EIBRESP field. I've checked the copybook that the transaction is using, and seen that it has a length of 473.

I've checked also the length of the string being passed to the copybook and seen that it has a value of 481. However, this length also applies when the transaction is running fine.

With that, I would like to ask if what are the other reasons to have a value of 22 in EIBRESP aside from having incompatible values of length of the copybook with the length of the string being passed to it. Please advise.
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: Tue Aug 05, 2008 4:14 pm
Reply with quote

Uh ... depends on the CICS command being executed; without that all I can say is that a 22 is a length error -- could be mapset, data from terminal, data to TSQ, etc, etc, etc
Back to top
View user's profile Send private message
hallecodec

New User


Joined: 05 Sep 2006
Posts: 30
Location: Philippines

PostPosted: Mon Aug 11, 2008 1:37 pm
Reply with quote

hi,

it is executing the WRITEQ TS command by the time it is having the EIBRESP=22.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Mon Aug 11, 2008 2:48 pm
Reply with quote

If it is a length error, then either "the length of the stored data is zero or negative" or "the length of the stored data is greater than 32763".
Is your LENGTH field a halfword binary?
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 EIBRESP=16 and EIBRESP2=25 while doi... CICS 2
No new posts EIBRESP =16 & EIBRESP2 = 01 while... CICS 3
No new posts EIBRESP 13 on Alternate Index CICS 7
No new posts How do I get the Response from EIBRESP COBOL Programming 1
No new posts eibresp = 16 and eibresp2 = 28. CICS 1
Search our Forums:

Back to Top