MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

invreq,eibresp=16,eibresp2=20

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
suma
Beginner


Joined: 23 Jan 2006
Posts: 65
Topics: 29

PostPosted: Fri Apr 17, 2009 6:53 am    Post subject: invreq,eibresp=16,eibresp2=20 Reply with quote

Hi all,

While writing a vsam file in CICS, I am getting invreq error code.
and I chcked the resp and resp2, I got EIBRESP OF 16 AND EIBRESP2 OF 20.

Please let me know why I am getting this error?

recenlty our admin added security to allow only 2 userids to add a record for this file, but my id not included in security. Does this is causing this problem

Thanks
Suma
Back to top
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Fri Apr 17, 2009 7:33 am    Post subject: Reply with quote

Possibly, but I don't know. you need to check out the file entry spec in the fct:

20 Add operations are not allowed according to the file entry specification in the FCT.
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
suma
Beginner


Joined: 23 Jan 2006
Posts: 65
Topics: 29

PostPosted: Fri Apr 17, 2009 7:36 am    Post subject: Reply with quote

thanks for ur reply,

when I am rewriting I am not getting any error...what is the difference between writing and rewriting a recoord into vsam.


regards
Suma
Back to top
View user's profile Send private message
Terry_Heinze
Supermod


Joined: 31 May 2004
Posts: 391
Topics: 4
Location: Richfield, MN, USA

PostPosted: Sat Apr 18, 2009 4:14 pm    Post subject: Reply with quote

A WRITE is considered an ADD, a REWRITE is considered an UPDATE. See your VSAM and CICS manuals.
_________________
....Terry
Back to top
View user's profile Send private message Send e-mail
suma
Beginner


Joined: 23 Jan 2006
Posts: 65
Topics: 29

PostPosted: Tue Apr 21, 2009 2:24 am    Post subject: Reply with quote

Hi,

I found the solution,
previously the add status in FCT entry was Nonaddable....
Addstatus( nonAddable )

Now i changed the addstatus to Addable, and I am not getting any error code


thanks for help
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group