Hi,
i am getting INVREQ error while reading a record from VSAM-RRDS.i am pasting the code below,
EXEC CICS READ
FILE('FT0391')
INTO(WS-CUST-REC)
RIDFLD(WS-CUSTID)
KEYLENGTH(WS-KEY-LEN)
RESP(WS-RESP)
GTEQ
END-EXEC .
AND ALSO I WANT SYNTAXES FOR ALL KSDS OPERATIONS.CAN ANY ONE HELP ME.
Getting Error INVREQ while reading records from VSAM-RRDS
-
- Global moderator
- Posts: 3006
- Joined: Fri Apr 18, 2008 11:25 pm
- Skillset: tso,rexx,assembler,pl/i,storage,mvs,os/390,z/os,
- Referer: www.ibmmainframes.com
Re: Getting Error INVREQ while reading records from VSAM-RRDS
AND ALSO I WANT SYNTAXES FOR ALL KSDS OPERATIONS.CAN ANY ONE HELP ME.
RTFM
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
-
- Global moderator
- Posts: 3720
- Joined: Sat Dec 19, 2009 8:32 pm
- Skillset: Systems programming, SAS, COBOL, CICS, JCL, SMS, VSAM, etc.
- Referer: other forum
- Location: Dubuque, Iowa, USA
Re: Getting Error INVREQ while reading records from VSAM-RRDS
This is not a manual regurgitation service. Learn to find the manuals on your own, read them, and THEN if you have any questions about what you read post them. INVREQ on a READ has a number of possible reasons. It is your responsibility to figure out which of these applies (from the CICS Language Reference manual):
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, 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
Default action: terminate the task abnormally.
-
- Similar Topics
- Replies
- Views
- Last post
-
-
EZIOE004 Logical I/O error on file occurred reading VB file
by savitha_y » Mon Feb 15, 2021 7:54 pm » in CA-Easytrieve - 3
- 4964
-
by savitha_y
View the latest post
Wed Feb 17, 2021 5:02 am
-
-
-
Joining 2 vb files into vsam files ended error
by newbiemainframe » Thu Nov 12, 2020 7:59 am » in JCL - 1
- 1756
-
by NicC
View the latest post
Thu Nov 12, 2020 7:15 pm
-
-
- 1
- 2508
-
by enrico-sorichetti
View the latest post
Fri Apr 02, 2021 6:56 pm
-
-
Code conversion issue while reading JCL using REXX
by vsgurunath » Fri Jun 19, 2020 10:19 pm » in CLIST & REXX - 11
- 4309
-
by vsgurunath
View the latest post
Thu Jun 25, 2020 4:08 pm
-
-
-
Insert records from File1 between records of File2
by Daouchiche » Wed Nov 10, 2021 6:37 am » in DFSORT/ICETOOL/ICEGENER - 6
- 2343
-
by sergeyken
View the latest post
Thu Nov 11, 2021 12:43 am
-