PSC PT Program Generator Portable Generator User Manual


 
Splitting Records into Two Files
User’s Guide 151
Splitting Records into Two Files
=
When verifying only a part of a record, you can accelerate the process by split-
ting 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:
Instead of searching through both item numbers and descriptions, your pro-
gram 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.
This method is still valid, but no longer recommended since you can use Wildcards.
Use Searching for a Partial Match on page 148
, instead.
File1 File2
item1 desc1
item2 desc2
item3 desc3
2342.book Page 151 Thursday, July 22, 2004 8:35 AM