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
 

 

how resolve DFHRESP = 16 ( INVREQ) in cics

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

New User


Joined: 08 Jan 2009
Posts: 3
Location: Chennai

PostPosted: Fri Jan 09, 2009 2:43 pm    Post subject: how resolve DFHRESP = 16 ( INVREQ) in cics
Reply with quote

I am facing the issue while reading the CICS file read and startbrowse.

Can any one explain when this error will come and how to resolve it...
Back to top
View user's profile Send private message

CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Fri Jan 09, 2009 3:57 pm    Post subject:
Reply with quote

Without the RESP2, we can't help.....
CICS Application Programming Reference wrote:
INVREQ
RESP2 values:
20 READ is not allowed according to the file entry specification in the FCT.
A READ command with the UPDATE option is issued to a file where update operations are not allowed according to the file entry specification in the FCT.
25 The KEYLENGTH and GENERIC options are specified, and the length specified in the KEYLENGTH option is greater than or equal to the length of a full key.
26 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.
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.
40 A BDAM key conversion error occurred.
42 The KEYLENGTH and GENERIC options are specified, and the length specified in the KEYLENGTH option is less than zero.
44 The command does not conform to the format of READ for a user-maintained or coupling facility data table; for example, if RBA is specified.
51 A READ to a KSDS file that is being accessed in RLS mode specifies the RBA keyword. RLS mode does not support relative byte address access to KSDS data sets.
52 CONSISTENT is specified on a READ request to a non-RLS mode file, or to a data table that is specified with RLSACCESS(YES). CONSISTENT is not allowed if the file refers to a data table, even if the file definition specifies RLSACCESS(YES).
53 REPEATABLE is specified on a READ request to a non-RLS mode file or to a data table that is specified with RLSACCESS(YES). REPEATABLE is not allowed if the file refers to a data table, even if the file definition specifies RLSACCESS(YES).
55 NOSUSPEND is specified on a READ request to a non-RLS mode file or to a data table that is specified with RLSACCESS(YES). NOSUSPEND is not allowed if the file refers to a data table, even if the file definition specifies RLSACCESS(YES).
56 An attempt to update a recoverable coupling facility data table has failed because the current unit of work has already updated 1024 recoverable coupling facility data tables. You cannot update more than 1024 recoverable coupling facility data tables within a unit of work
59 XRBA was specified, but the data set is not an ESDS.
Default action: terminate the task abnormally.
Back to top
View user's profile Send private message
sachinramesh

New User


Joined: 08 Jan 2009
Posts: 3
Location: Chennai

PostPosted: Fri Jan 09, 2009 5:22 pm    Post subject: how resolve DFHRESP = 16 ( INVREQ) in cics
Reply with quote

EIBRESP1 = 16 &
REPS2 = 33
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8002
Location: Bellevue, IA

PostPosted: Fri Jan 09, 2009 6:03 pm    Post subject:
Reply with quote

Quote:
I am facing the issue while reading the CICS file read and startbrowse.
Well, which is it? READ or STARTBR? These are each separate commands in CICS and you are not clear which you're using.

Going by the last post, INVREQ with RESP2 = 33 occurs only on a STARTBR, not READ, and means
Quote:
33
An attempt is made to start a browse with a REQID already in use for another browse.
You're probably in a loop in your CICS program, did a STARTBR already that worked, and now your loop is trying to do another STARTBR, giving your the RESP=16, RESP2=33. Change your code to remove the STARTBR from the loop.
Back to top
View user's profile Send private message
sachinramesh

New User


Joined: 08 Jan 2009
Posts: 3
Location: Chennai

PostPosted: Fri Jan 09, 2009 7:11 pm    Post subject: how resolve DFHRESP = 16 ( INVREQ) in cics
Reply with quote

ENDBR was used in correct place.. i corrected it.. now its workign fine..

Thanks for the Help..

Thank you so much..
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 Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts Asynchronous CICS Processing Question moezbud CICS 0 Mon Mar 06, 2017 6:13 pm
No new posts CICS Question RE: Browse, Readnext an... moezbud CICS 7 Sun Mar 05, 2017 5:45 am
No new posts how to send just 10 rows in a CICS sc... Megha Gupta CICS 5 Thu Feb 23, 2017 6:57 pm
No new posts Mainframe Interview Questions CICS,CO... akshathan Mainframe Interview Questions 6 Thu Feb 09, 2017 6:38 pm


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