If you want to find duplicate records in a file, the easiest way to do that is to sort the file on whatever field(s) you want to check for duplicates, (or the whole record if that's what you're looking for), and then open it as a sequential file, and read it, and for each record read, save the contents (or key) to a working-storage field, and then check the next record read to see if it matches, and if it does, write the record to another file, or do something else to notify you that it was a duplicate. I think the start statement syntax is pretty much the same as the read syntax for indexed files, but to find duplicates, I think you will find the way I described to be easier and probably faster. That's the way I'd do it.