Skip to main content

startbr/readnext not working as expected

No replies
stansaraczewski
Offline
Joined: 2009-04-08

The objective here is to start a browse on a vsam file using a 'generic' starting key then readnext to get all the records.

RIDFLD = c'090917026' followed by 6 bytes of low values - x'000000'. (Keylen is 15)

STARTBR GTEQ ends ok, then a READNEXT returns c'090917027000001' – BUT there are several records that exist on the file with the first key (090917026) that are being ignored.

The region was bounced last night (weekly bounce), and now it works correctly.

Any suggestions would be appreciated  as we are baffled...