<ADDRESSBLOCK>
The <ADDRESSBLOCK> tag lets you specify a number of lines to identify an address block for line data print streams.
Using <ADDRESSBLOCK> automatically creates fields named %%ADDRESS1 through %%ADDRESS6. (Enrichment treats these fields as field variables, not as system variables.) The number of fields created depends on the depth value you specify. You can use these fields like any other field (in Rule, Add, Sidefile, and so on). If <FIELDREPLACE> is set to Y and action is set to R or RA, these fields are automatically updated with the cleansed address, based on your <LPCREPLACE> tag settings.
You cannot use <ADDRESSBLOCK> and the Address group within the same input.
For AFPDS, Metacode and PDF print streams, you must use the Address group method because the address data can be anywhere in the print stream.
Tag Group
Syntax
<ADDRESSBLOCK> row column length depth [method action]
| Parameter | Description | Default |
|---|---|---|
| row | The line or record in which the first address line begins. | None |
| column | The column in which the address begins. | None |
| length | The length of each address line (up to 70 characters). Note: If you set the CASS group <LPCREPLACE> tag useaddressasinputYN parameter to Y (YES) (meaning don’t use ADDRSCAN), but if the number of non-blank address lines encountered is less than 2 or more than 3, ADDRSCAN will be used in order to pass a valid number of address lines to Finalist.
|
None |
| depth | The number of lines or records of the address (up to 6 lines or records). | None |
| method | One of the following to specify the method used to determine whether row and depth are indicated in printed lines or data records: L[INES] Count print lines. R[ECORD] Count data records |
LINES |
| action | The action parameter is a two-character value. The first character of the action value, which determines the action you want to perform on the address block, is one of the following:
|
R |
|
The second character of the action value, which defines how often Enrichment is to look for the field in each document, is one of the following:
|
None |