
Splitting Records into Two Files
Splitting Records into Two Files=
This method is still valid, but no longer recommended since you can use Wildcards. Use Searching for a Partial Match on page 148, instead.
When verifying only a part of a record, you can accelerate the process by splitting the record into two different files and referencing each file’s index posi- tion. For example, if you had a file with the following records showing item numbers and descriptions:
item1, desc1 item2, desc2 item3, desc3
you could divide it into two files as follows:
File1 File2
item1 desc1
item2 desc2
item3 desc3
Instead of searching through both item numbers and descriptions, your program could search through File1, which contains item numbers only. When the item number is found, you can use the same index number to find the matching description in File2.
User’s Guide | 151 |