|
Have you taken a look at CMPPFM (Compare Physical File Member)? I don't know if how fast this is, but it may work for you, and it may be faster. You'd want to benchmark it and see I guess. Regards, Jim Langston > "Hatzenbeler, Tim" wrote: > > I have 2 large files, with about 15 fields in each record. These 2 file have >the same fields. I want to test these 2 files a record at a time to verify >data integrity. > > My question is this, what's the fastest way to compare these files. > > I was going to read the (driver file) a record at a time, and chain to the >equivalent record in the other file. and compare the records by comparing >data structures that include the names of the all the fields in the 2 files. > > is there a better/faster way? > > Thanks, tim +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.