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
 

 

eibresp = 16 and eibresp2 = 28.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: eibresp = 16 and eibresp2 = 28.
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Fri Apr 25, 2014 10:07 pm    Post subject: Reply to: eibresp = 16 and eibresp2 = 28.
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.

http://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    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 EIBRESP 13 on Alternate Index amitc23 CICS 7 Wed Feb 18, 2015 6:33 pm
No new posts How do I get the Response from EIBRESP Robert.Barnes COBOL Programming 1 Sat Oct 25, 2014 9:21 am
No new posts CICS eibresp 22 while reading VSAM Fi... abhishek chhawcharia CICS 18 Tue Apr 22, 2014 1:38 am
No new posts CICS EIBRESP 22 and EIBRESP2 13 picus_mf CICS 2 Thu Nov 14, 2013 6:19 pm
No new posts getting EIBRESP=16 EIBRESP2=30 Gopalakrishnan V CICS 18 Wed Aug 01, 2012 2:56 pm


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