Line of Travel Exit Routine (LTO60) - 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

If you want to post the Line of Travel code to your output file, use the LTO60 exit routine. You have access to this exit routine via the EXITOP parameter. The EXITOP parameter is available from most Precisely EXEC-level programs.

The EXITOP parameter defines your input and locations for your output. You must pass a 5-digit ZIP Code, a 4-digit ZIP+4 Code, a 2-digit DPC, and a 4-byte Carrier Route Code as input.

LTO10 then derives a Line of Travel (LOT) code, which is comprised of a 4-digit Line of Travel sequence number and a 1-character Line of Travel sequence code, and returns it to the LTO60 exit routine.

The Line of Travel sequence code is either "A" for ascending, or "D" for descending. Since sorting in ascending and descending order can be unwieldy, Line of Travel returns two types of alternate codes that can be sorted in ascending order only.

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. There are 200 values ranging from 99 ascending through 00 descending, then 00 ascending through 99 ascending. Both the hexadecimal and alternate sequence codes are determined from the DPC add-on and the LOT sequence code.

The LTO60 exit routine subsequently returns the information to your Precisely EXEC-level program.