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: 2588
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 Need to read duplicate rows from tabl... DB2 3
No new posts Read 4MB message and split into multi... COBOL Programming 9
No new posts how to read accounting information in... COBOL Programming 1
No new posts Dynamically read input files using BP... COBOL Programming 20
No new posts EIBRESP =16 & EIBRESP2 = 01 while... CICS 3
Search our Forums:

Back to Top