View previous topic :: View next topic
|
Author |
Message |
sancraig16
New User
Joined: 27 Mar 2018 Posts: 26 Location: usa
|
|
|
|
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 |
|
 |
sancraig16
New User
Joined: 27 Mar 2018 Posts: 26 Location: usa
|
|
|
|
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 |
|
 |
Rohit Umarjikar
Global Moderator

Joined: 21 Sep 2010 Posts: 3077 Location: NYC,USA
|
|
|
|
KEYLENGTH isn’t correct. |
|
Back to top |
|
 |
|