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

INVREQ on STARTBROWSE


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
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
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: 2501
Location: Atlanta, Georgia, USA

PostPosted: Thu Mar 17, 2011 4:17 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Abend INVREQ in return with the trans... CICS 3
No new posts VSAM - INVREQ(RESP 16) while STARTBR ... JCL & VSAM 2
No new posts INVREQ on ENBR CICS 2
No new posts how resolve DFHRESP = 16 ( INVREQ) in... CICS 4
No new posts INVREQ when writing to a extrapartiti... CICS 6
Search our Forums:

Back to Top