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:
-
In position 26-28 of the Z4 OUT parameter, specify the location for the database vintage date.
-
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:
-
In positions 44-46 of the CS ZIP parameter, write the location of the master file vintage date in the input records.
-
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)
-
-
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:
-
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.
-
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.
-