Sorting Your LOT Coded Records - 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
Last updated
2024-07-11
Published on
2024-07-11T02:24:45.851825

To use Line of Travel to obtain the maximum discount, the USPS Line of Travel Technical Guide requires you to sort your LOT-coded records in ascending order in the following sequence:

  1. 5-digit ZIP Code

  2. 4-byte Carrier Route Code

  3. 4-digit Line of Travel Code

    Note: This includes only the numeric portion of the LOT code. It does not include the sequence code.
  4. 4-digit ZIP + 4 Code

  5. 2-digit Delivery Point Barcode in ascending AND descending order depending on the Line of Travel sequence code that is appended to each record

Note: The Line of Travel sequence code (either "A" or "D") is essential for this step.

Since sorting in ascending and descending order can be unwieldy, Line of Travel returns two types of alternate codes that can be used for sortation. Rather than sorting your output file using the 2-digit Delivery Point Barcode, you should sort it using either the alternate sequence code or the hexadecimal sequence code.

The alternate sequence code is a two-byte code used for final sortation in place of the DPC add-on. It consists of an uppercase letter followed by a digit 0 through 9. Values range from "A0" (99 descending) through "J9" (00 descending), and "K0" (00 ascending) through "T9" (99 ascending).

The hexadecimal sequence code is a single-byte code, and it also allows you to sort your file in ascending order only. The hexadecimal values range from 0 to FF ascending, then FF through 0 descending.

Both the hexadecimal and alternate sequence codes are determined from the DPC add-on and the LOT sequence code. For more information on these codes, please refer to Alternate Sequence Codes.

Note: You must sort your output file as discussed above prior to presorting your mailing when using the Precisely MailStream Plus software.