Portal | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
EIBRESP=16 and EIBRESP2=25 while doing partial read

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: EIBRESP=16 and EIBRESP2=25 while doing partial read
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    Post subject:
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: 2467
Location: NY,USA

PostPosted: Thu Sep 03, 2020 8:21 am    Post subject:
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    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 Read 4MB message and split into multi... myselfsk15 COBOL Programming 8 Fri Sep 25, 2020 7:24 am
No new posts how to read accounting information in... jzhardy COBOL Programming 1 Mon Sep 21, 2020 9:57 am
No new posts Dynamically read input files using BP... Srinivas B COBOL Programming 20 Sat Sep 05, 2020 1:48 pm
No new posts EIBRESP =16 & EIBRESP2 = 01 while... Farheen CICS 4 Mon Aug 24, 2020 2:05 pm
No new posts Dynamic file read via JCL abdulrafi JCL & VSAM 4 Fri Aug 14, 2020 11:51 am

Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us