Hexadecimal and Binary References

Generally, you use the <REFERENCE> tag to identify a reference point in Metacode in the same manner as you would for line data, with one important difference. Because Metacode controls are represented in hexadecimal format, you will probably need to specify references to Metacode commands and associated data in hexadecimal or binary format so Enrichment can locate it. For example, the Field tag group shown below tells Enrichment how to find the field information for an address line in Metacode data.

<field> %%Addr1 K
   <reference> x'01' x'8D0104A50B' 3
   <location> 0 43 30
</field>

In the <reference> tag above, the cc parameter value is x'01', indicating that Enrichment should look only on records with a carriage control of x'01' in column 1 for the reference point. The reference text for which Enrichment is to search is x'8D0104A50B'.