View previous topic :: View next topic
|
Author |
Message |
sachinramesh
New User
Joined: 08 Jan 2009 Posts: 3 Location: Chennai
|
|
|
|
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 |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
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 |
|
|
sachinramesh
New User
Joined: 08 Jan 2009 Posts: 3 Location: Chennai
|
|
|
|
EIBRESP1 = 16 &
REPS2 = 33 |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
sachinramesh
New User
Joined: 08 Jan 2009 Posts: 3 Location: Chennai
|
|
|
|
ENDBR was used in correct place.. i corrected it.. now its workign fine..
Thanks for the Help..
Thank you so much.. |
|
Back to top |
|
|
|