How to read active records only in a flat file?

My flat file contains many deleted records. I need to do a sequential read for the reason that there are only a few active records. I use AS40 V5R4, and it is taking too long. Is there a way to make it read only the active records?
