Defining City and State Locations - Code-1_Plus - 5.0

CODE-1 Plus Guide for IBM i

Product type
Software
Portfolio
Verify
Product family
Data Quality - Postals
Product
CODE-1 Plus
Version
5.0
Language
English
Product name
CODE-1 Plus
Title
CODE-1 Plus Guide for IBM i
Copyright
2024
First publish date
1998
ft:lastEdition
2024-05-15
ft:lastPublication
2024-05-15T00:03:43.588945

Use the City and State Storage screen to define the location and length of the city and state information to store in your output file. To access the City and State Storage screen:

  1. From the Name/Address Record Posting screen, page down to the City and State Storage screen (C1CPOD070).

  2. Use the following table to complete the fields on the City and State Storage screen.

    Field Name

    Description

    Location for City/State return code:Posn

    Optional. Location on the output record for a 1-byte city/state return code that indicates why the output city/state was/was not stored. One of these codes is stored:

    • Blank — An output city/state was stored.

    • A — Apartment number missing or not found in database, and an apartment-level match was required.

    • B — Insufficient or blank address match information.

    • H — House/box number not found on street.

    • M — Multiple matches of equal quality were found.

    • S — Street name not found in ZIP Code.

    • Z — ZIP Code not found in database.

    No default.

    Formatted City/State Line

    Replace Input?

    Optional. Specifies whether to store the standardized city/state in the same location as the input city/state line.

    • Y — Store in the same location as the input city/state.

    • N — Do not store in the same location as the input city/state.

    • Blank — Default is N.

    Replace Input:Posn

    Optional. Enter a number from 1-9999 to define the location on the output record for the standardized city/state line. No default.

    NOTE: If you choose NOT to replace input, you must specify these fields to store the formatted city/state line.

    Replace Input:Len

    Optional. Enter a number from 1-99 to define the length of the standardized city/state line. No default.

    Format

    Optional. Format of the standardized city/state line:

    • 9 — City, state, ZIP Code, and ZIP + 4 Code.

    • S — City and state only.

    • Z — City, state, and 5-digit ZIP Code.

    • Blank — No default.

    Location for City Name:Posn

     

    Optional. Enter a number from 1-9999 to define the output location for the returned city name (28-character form if it fits, else short). No default.

    Location for City Name:Len

     

    Optional. Enter a number from 1-99 to define the length of the returned city name. No default.

    If no match is found, store city from Input or ZIP Code?

    Optional. Code indicating what should be stored when no address match is found:

    • I — Store the input city name.

    • Z — Store the primary city for the valid input ZIP Code. If you specify "Z", CODE-1 Plus does not generate a USPS Form 3553 (CASS Summary Report).

    • X — Store the missing primary city and state for the valid input ZIP Code. Also, store the locality county code for the valid input ZIP Code or valid input city/state. If you specify "X", CODE-1 Plus does not generate a USPS Form 3553 (CASS Summary Report).

    • Blank — Store the information indicated in the "What should be stored if a City/State is not matched or is not stored due to storage options above?" field on the City and State Storage Options screen (C1CPOD073).

    Store input short city name?

    Optional. Code indicating what should be stored when the input city name is the short city name.

    • Y — Store input city name.

    • N — Store standardized city name.

    • Blank — Default is N.

    Location for City Name (short form):Posn

    Optional. Enter a number from 1-9999 to define the output location for the13-byte short city name. No default.

    Location for State Abbreviation (USPS Standard):Posn

    Optional. Enter a number from 1-9999 to define the output location for the 2-byte state abbreviation.

    Store input if no match is found?

    Optional. Code indicating what should be stored when no state match is found:

    • Y — Store the input state abbreviation.

    • N — Store the information indicated in the "What should be stored if a City/State is not matched or is not stored due to storage options above?" field on the City and State Storage Options screen (C1CPOD073).

    • Blank — Default is N.

    USPS Urbanization name:Posn

    Optional. Enter a number from 1-9999 to define the output location for the USPS urbanization name. No default.

    Store if multiple Urbanization names are found?

    Optional. Code indicating whether to store the standardized urbanization name when multiple matches were found on the database.

    • Y — Store the standardized urbanization name.

    • N — Store nothing.

    • Blank — Default is N.