Reading Keyed Information from Files
You can obtain keyed data from files (or VSAM on mainframe systems) by using the LOOKUP and LOOKUPV functions from the rule file. These high-level functions are designed to locate records within a file that correspond to a specified key.
To use LOOKUP and LOOKUPV, call them from the rule file when you want to obtain supplemental data. You need not open or close the files or be concerned with the actual mechanics of how EngageOne™ Enrichment reads the file. When you call LOOKUP or LOOKUPV, the function returns the complete matching record. You should then parse out the data you need from the record.
These are key-based table lookups. You pass a key to the function, which looks in the file for a record with a matching key. If it finds the key, EngageOne™ Enrichment returns the matching record.