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

EIBRESP=16 and EIBRESP2=25 while doing partial read


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sancraig16

New User


Joined: 27 Mar 2018
Posts: 26
Location: usa

PostPosted: Thu Sep 03, 2020 2:53 am
Reply with quote

I am doing partial read on VSAM file using alternate index . I have the values for the first 2 of the 3 fields present in the alternate index.

I am getting the error EIBRESP=16 and EIBRESP2=25

EXEC CICS READ
FILE('AMTFILE)
RIDFLD(AMTFILE-ALTINDEX)
INTO(AMTFIL-REC)
KEYLENGTH(LENGTH OF AMTFILE-ALTINDEX)
RESP(CICSRESP)
GENERIC
END-EXEC
Back to top
View user's profile Send private message
sancraig16

New User


Joined: 27 Mar 2018
Posts: 26
Location: usa

PostPosted: Thu Sep 03, 2020 4:57 am
Reply with quote

I added GTEQ to the above and still no luck.

Is the only way to read is using STARTBR and READNEXT ?

Can we not read VSAM file using alternate index non-sequentially ? I just need the first record .
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3048
Location: NYC,USA

PostPosted: Thu Sep 03, 2020 8:21 am
Reply with quote

KEYLENGTH isn’t correct.
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 Error to read log with rexx CLIST & REXX 11
No new posts Random read in ESDS file by using RBA JCL & VSAM 6
No new posts VSAM return code 23 - for a Random read COBOL Programming 4
No new posts ICETOOL to Read records SMF CEF it is... DFSORT/ICETOOL 4
No new posts Find the occurrence of Key Field (Par... DFSORT/ICETOOL 6
Search our Forums:

Back to Top