Parameters - 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

To use Z4CHANGE Option processing, add fields to the CS ZIP and Z4 OUT parameters from a standard job. Follow the instructions below to perform Z4CHANGE Option processing in your batch job.

Process Your Entire List Through CODE-1 Plus

If you want to have CODE-1 Plus write the database vintage date in the output records, do the following:

  1. In position 26-28 of the Z4 OUT parameter, specify the location for the database vintage date.

  2. In position 30 of the Z4 OUT parameter, specify one of the following codes to indicate the format of the vintage date:

    • C — 4-byte character format (YYMM) (default)

    • P — 3-byte packed decimal format (YYMM)

    • B — 2-byte binary format (YYMM)

    • 3 — 3-byte binary format (YYYYMM)

    • 6 — 6-byte character format (YYYYMM)

    • 4 — 4-byte packed decimal format (YYYYMM)

Each Month, Process Your File Again

If the vintage date is stored in your input records:

  1. In positions 44-46 of the CS ZIP parameter, write the location of the master file vintage date in the input records.

  2. In position 48 of the CS ZIP parameter, write one of the following format codes to tell CODE-1 Plus the format of the vintage date in the input records:

    • C — 4-byte character format (YYMM) (this is the default)

    • P — 3-byte packed decimal format (YYMM)

    • B — 2-byte binary format (YYMM)

    • 3 — 3-byte binary format (YYYYMM)

    • 6 — 6-byte character format (YYYYMM)

    • 4 — 4-byte packed decimal format (YYYYMM)

  3. In positions 32-34 of the Z4 OUT parameter, write the location for the output Z4CHANGE Option Return Code. One of the following codes will be stored in the position you specify:

  • 0 — Address matching was not required for this record (the USPS has not changed this ZIP + 4 Code since the database vintage date).

  • 4 — Address matching was required for this record (the USPS has changed this ZIP + 4 Code since the database vintage date).

  • 8 — A fatal error occurred during processing.

If the vintage date is not stored in your input records:

  1. In positions 50-55 of the CS ZIP parameter, specify the vintage date of the master file that was used to process this list the last time the list was processed. Write the date in YYYYMM format.

  2. In positions 32-34 of the Z4 OUT parameter, write the location for the output Z4CHANGE Option return code. One of the following codes is stored in the position you specify:

  • 0 — Address matching was not required for this record (the USPS has not changed this ZIP+4 Code since the database vintage date).

  • 4 — Address matching was required for this record (the USPS has changed this ZIP+4 Code since the database vintage date).

  • 8 — A fatal error occurred during processing.