Program in RPGLE. I have 2 work files in my program. They hold possible matching data for a name, birth, etc. I have rules where I search the file and determine how many parameters match. I have to delete records if I don't have a minimum of fields matching. I make several runs through the file to get the final record. But I then need to clear the 2 work files and start over for the next lookup. What is the best way for me to handle clearing these work files? I think I have a problem with records that have been deleted. DSPFD shows I have 100,000 records, but I really only have 15 records in my file.
August 26, 2010 7:51 PM
September 1, 2010 12:03 AM