Logical files let you define fields in the logical that combine multiple fields from the physical file. We use this function to build dates out of MM, DD, and YY fields.

You could merge 90+ fields into a single long field in an LF... and make it a key field...

Then write an AS/400 query over the LFs and find records in one file that don't have a matching record in the other file. Then swap the file names and run it again (or do the same thing in SQL...).

Paul E Musselman

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 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].