%%LPCRC

Indicates the general return code from Finalist. The general return code defines whether address cleansing was successful overall for a document. If the code returned to %%LPCRC exceeds the threshold specified for it in the CASS group <LPCREPLACE> tag, EngageOne™ Enrichment does not replace address information. Requires Finalist.

The possible values for %%LPCRC are:

0 The address was cleansed with a standardized ZIP + 4® and carrier route.
1 The address was cleansed with a standardized ZIP Code™ and carrier route.
2 The address was cleansed with a standardized ZIP Code™.
9 The address could not be cleansed.
You can use rule file processing to check the value of %%LPCRC returned for each document and act based upon that value. The following example code shows %%LPCRC used to control address replacement.
IF %%LPCRC = 0 THEN                    <! If Finalist return code>
   %%Name = %%CASS_ADDR1               <! is 0, replace the > 
   %%Street_Address = %%CASS_ADDR2     <! existing address. >
   %%City_State = %%CASS_ADDR3
ENDIF

Valid in Control File Tags

This system variable is valid in the Control File when used in the following tags.

  • <ADDPART>
  • <FIELD> (with field replace, meaning the [action] parameter is set to R)
  • <SIDEPART>
  • <SORTPART>

Valid in Rule File Sections

This system variable is valid in the following Rule File sections.

  • Document
  • Presorted
  • Page