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
 

 

INVREQ on STARTBROWSE

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
singhju

New User


Joined: 01 Dec 2010
Posts: 25
Location: Gurgaon

PostPosted: Thu Mar 17, 2011 12:40 pm    Post subject: INVREQ on STARTBROWSE
Reply with quote

Hi,

I am getting INVREQ on STARTBROWSE with EIBRESP 16 and EIBRESP2 26 eventhough I am not using KEYLENGTH and GENERIC options. I am using GTEQ without KEYLENGTH.

Please help.
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: Thu Mar 17, 2011 4:17 pm    Post subject: Reply to: INVREQ on STARTBROWSE
Reply with quote

The manual states that an EIBRESP2 of 26 is -

"The KEYLENGTH option is specified (but the GENERIC option is not specified), and the specified length does not equal the length defined for the data set to which this file refers.".

With that, determine the keylength defined to the Cluster (via a LISTCAT).

Once you have the keylength, specify this value in the STARTBR.

In CICS, issue a CEMT INQ FIL and determine whether this FILE is local or remote to your CICS region (look for REM in the CEMT display).

IMHO, it's always a good idea to specify the KEYLENGTH in the API, regardless whether the FILE is LOCAL or REMOTE.

If the FILE is REMOTE and the FCT entry does not specify KEYLENGTH, an INVREQ will be raised when it is not specified in the API as this is required for Function Shipping (IE: Remote File access) to the Remote region, where the FILE lives.

So, there's no harm done using the KEYLENGTH, unless of course, there's a problem with the KEYLENGTH definition in the CLUSTER itself and/or the KEYLENGTH value derived programmatically is incorrect.

You can also experiment with CECI (non-Production).

Bill
Back to top
View user's profile Send private message
singhju

New User


Joined: 01 Dec 2010
Posts: 25
Location: Gurgaon

PostPosted: Wed Mar 23, 2011 4:05 pm    Post subject:
Reply with quote

Thanks Bill for your input and sorry for late update.

The file is remote to CICS region and we are not using KEYLENGTH option however the problem got resolved.

The reason for error was that the local entry of file in local CICS region was defined with Keylength and recordsize as zero while the remote entry has the correct keylength and recordsize. So we have corrected the keylength and recordsize in local definition and it is working fine now.
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 Abend INVREQ in return with the trans... dbzTHEdinosauer CICS 3 Thu Jul 22, 2010 5:15 pm
No new posts VSAM - INVREQ(RESP 16) while STARTBR ... Senthilkumar k JCL & VSAM 2 Wed Aug 05, 2009 3:11 pm
No new posts INVREQ on ENBR dick scherrer CICS 2 Fri Jul 24, 2009 10:44 am
No new posts how resolve DFHRESP = 16 ( INVREQ) in... sachinramesh CICS 4 Fri Jan 09, 2009 2:43 pm
No new posts INVREQ when writing to a extrapartiti... babuprasad CICS 6 Thu Nov 13, 2008 1:31 pm


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