I have done this one hundred million times and I don't know what is wrong. I created a very simple logical file on AS/400 that is keyed on a numeric field and duplicates are allowed. I issue the START statement for a value that IS in the file with multiple records. I don't have a bad start situation. Immediately do a READ NEXT and the record returned is the first record in the logical indexed file. WTH am I doing wrong???
Red Flag Submitted
Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.