The "INP" and "INPA" options allow the standardized address to be put into one of the input address lines. The difference between the two options is which input line is chosen to hold the standardized address.
Determining the Most Significant Address Line
The ADDRDF parameter definition determines the "most significant" and the "next most significant" address line.
Example 1
In this example, the input address line defined as starting in column "083" for "34" bytes is the most significant input address line.
ADDRDF L 011 35 047 35 083 34
The line defined as starting in column "047" for "35" bytes is the next most significant input address line.
ADDRDF L 011 35 047 35 083 34
Example 2
In this example, the input address line defined as starting in column "119" for "30" bytes is the most significant input address line.
ADDRDF L 011 35 047 35 083 34 119 30
The line defined as starting in column "083" for "34" bytes is the next most significant input address line.
ADDRDF L 011 35 047 35 083 34 119 30
In summary, the "most significant" input address line is the last one defined by the ADDRDF parameter while the "next most significant" input address line is the one immediately to the left of the "most significant" line.
Using the INP Option
For the "INP" option, processing stores the standardized address in the address line that corresponds to the line originally occupied in the input file. Secondary information occurring in other address lines does not determine the storage location of the standardized address.
Example
ADDRDF L 011 35 047 36 083 34
Address Line 1 |
Address Line 2 |
Address Line 3 |
City/State/ZIP Code |
---|---|---|---|
Input |
|||
STE 200 |
9900 NICHOLAS ST |
|
OHAMA, NE 68114 |
Output |
|||
|
9900 NICHOLAS ST STE 200 |
|
OHAMA, NE 68114-2259 |
Using the INPA Option
For the "INPA" option, processing stores the standardized address in the "most significant" address line with one exception. The standardized address is output to the "next most significant" address line when the following conditions exist:
-
The CS OUT parameter specifies "INP" in positions 31-33.
-
The combined City/State/ZIP Code/ZIP+4 is output to the "most significant" address line.
Example
ADDRDF L 011 35 047 36 083 34
Address Line 1 |
Address Line 2 |
Address Line 3 |
City/State/ZIP Code |
---|---|---|---|
Input |
|||
STE 200 |
9900 NICHOLAS ST |
|
OHAMA, NE 68114 |
Output |
|||
|
|
9900 NICHOLAS ST STE 200 |
OHAMA, NE 68114-2259 |
INP and INPA Length Considerations
For both the "INP" and "INPA" processing, if the length of the standardized address is longer than the length of the "most significant" address line as defined by the "ADDRDF" parameter:
-
The standardized street address will be written to the "most significant" address line.
-
The secondary information will be written to the "next most significant" address line.
Alternative to INP or INPA Processing
If you are using either "INP" or "INPA" to save space on your output file, the following alternative accomplishes the same result, provides consistent results, and puts the standardized address in the same location for each coded record.
If your data set and input definition are similar to Example 1 and you use the SA OUT parameter to define your output as illustrated in Example 2, you can achieve consistent results without using "INP" or "INPA" processing.
Example 1 - Input
ADDRDF L 011 35 047 36 083 34
Line 1 – Byte 11 for 35 |
Line 2 – Byte 47 for 36 |
Line 3 – Byte 83 for 34 |
City, State, and ZIP Code |
RESIDENT |
199 BROADWAY ST |
|
CHICOPEE, MA 01020 |
RESIDENT |
96 ROCKY HILL RD |
|
HADLEY, MA 01035 |
RESIDENT |
3 WAMPANOAG DR |
|
HADLEY, MA 01035 |
RESIDENT |
|
3 WAMPANOAG DR |
HADLEY, MA 01035 |
Example 2 - Output
SA OUT 0047 70
In this example, the standardized address starts in column 47 and, since the output field was defined to overlay both input fields, no residual input data remains.
Line 1 – Byte 11 for 35 |
Line 2 – Byte 47 for 50 |
City, State, and ZIP Code |
RESIDENT |
199 BROADWAY ST |
CHICOPEE, MA 01020-2642 |
RESIDENT |
96 ROCKY HILL RD |
HADLEY, MA 01035-9769 |
RESIDENT |
3 WAMPANOAG DR |
HADLEY, MA 01035-9748 |
RESIDENT |
3 WAMPANOAG DR |
HADLEY, MA 01035-9748 |
Important Considerations
During the matching process, it is possible for the input street to be changed to an alias street in accordance with USPS requirements. As a result, the full output street address may be longer than the field into which it is to be stored. This can happen whether you use INP or INPA processing. The SA OUT parameter value in position 19 (Storage Conditions - Address with Apartment) determines what is written to the output field. If you choose to output the input address, then that address is not moved to the "most significant" address line for INPA processing. Instead, the address remains where originally located.
Example
In the following example, the SA OUT parameter specifies "I" in position 19. The input address "31224 20TH AVE S APT D107" would be output as "31224 PETE VON REICHBAUER WAY S APT D107" (40 characters in length) if there had been sufficient room in the "most significant" address line (defined as 34 characters in length). Instead, because the SA OUT parameter specifies "I" in position 19, the input address is stored.
Input |
|||
|
|
31224 20TH AVE S APT D107 |
FEDERAL WAY, WA 98003 |
Output |
|||
|
|
31224 20TH AVE S APT D107 |
FEDERAL WAY, WA 98003-5600 |
Input |
|||
|
31224 20TH AVE S APT D107 |
|
FEDERAL WAY, WA 98003 |
Output |
|||
|
31224 20TH AVE S APT D107 |
|
FEDERAL WAY, WA 98003-5600 |