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

eibresp = 16 and eibresp2 = 28.


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

New User


Joined: 21 Mar 2009
Posts: 10
Location: Ohio

PostPosted: Fri Apr 25, 2014 9:37 pm
Reply with quote

Hi All,

I am getting a eibresp of 16 and eibresp2 of 28 while reading a VSAM file in CICS. I have verified that the key is getting formed correctly and the entry is also present in the vsam file before read.

Below is the code.

EXEC CICS READ DATASET ('FILE1')
INTO (FILE1-REC)
RIDFLD (FILE1-KEY)
KEYLENGTH(38)
UPDATE
LENGTH(FILE-LEN)
RESP (RESPONSE-CODE)
RESP2 (RESPONSE-CODE2)
NOHANDLE
END-EXEC

I am trying the Length, just to see if it fixes the issue.

I have same program in a program which gets executed couple of programs before this program and the read is happening correctly there and the return codes are 000000.

Any help is appreciated.

Abhishek
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Fri Apr 25, 2014 10:07 pm
Reply with quote

An EIBRESP of 16 represents an "Invalid Request" (DFHRESP(INVREQ)).

With that, an EIBRESP2 of 28 explanation (from the manual) -

28

Following a READ UPDATE command without TOKEN, another
READ UPDATE without TOKEN was issued against the same file
without an intervening REWRITE, DELETE without RIDFLD specified,
UNLOCK or SYNCPOINT command. This condition may in some
cases be raised despite the fact that the first READ UPDATE was not
successful, for example because it timed out.


These exceptions can be found in the applicable CICS "Application Programming Reference" manual for your particular version/release.

The 16 and the 28 are warnings to prevent you from deadlocking yourself and raising an AFCI/AFCY abend or even an AKCS abend.

publib.boulder.ibm.com/cgi-bin/bookmgr/library
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 CICS eibresp 22 while reading VSAM Fi... CICS 18
Search our Forums:

Back to Top