|
David, I would reorginize the PF, you win a lot of DASD and loading the PF is quicker. Why keep the deleted records? Just my thoughts. Regards, Carel Teijgeler *********** REPLY SEPARATOR *********** On 22-7-05 at 11:37 David C. Shea wrote: >I want to create a logical file where the key is RRN. I only want active >records listed in this logical. > >The goal here is to be able to SETLL by key of RRN and have the pointer >positioned either at the next record in the file or EOF. > >This is for a situation where there could be millions of deleted records in >the file. Doing a regular SETLL by RRN and a READ could >end up scanning thru >millions of deleted records. > >Doing a SETLL on a logical file _keyed_ by RRN might do the trick. > >Any thoughts??
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.