EXITOP Parameter for the LTO60 Exit Routine - 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

The EXITOP parameter allows you to call the LTO60 exit routine. The following table provides an overview of the EXITOP parameter fields used to access the LTO60 exit routine.

Position

Field Name

Description

Comments

1-6

KEYWORD

EXITOP is the only acceptable entry.

Required.

8-15

EXIT ROUTINE NAME

LTO60 is the only acceptable entry.

LTO60 is dynamically loaded when you enter this parameter.

Required.

19-22

Location of  ZIP CODE

Location of the input record ZIP Code.

Required.

23

Format of  ZIP CODE

Code indicating the format of your input record ZIP Code.

  • C — 5-digit ZIP Code in character format.

  • P — 5-digit ZIP Code stored in a 3-byte packed field.

  • R — 9-digit ZIP+4 Code stored in a 5-byte packed field.

  • B — 5-digit ZIP Code stored in a 3- byte binary field.

  • 9 — 9-digit ZIP+4 Code stored in a 4-byte binary field.

Required.

24-27

Location of  ZIP+4 Code

Location of the input record ZIP+4 Code.

Required.

28

Format of  ZIP+4 Code

Format of the input record ZIP+4 Code. Enter one of the following:

  • C — Character format

  • P — 3-byte packed field

  • B — 2-byte binary field.

Required.

29-32

Location of  DELIVERY POINT CODE

Location of the input record Delivery Point Code.

Required.

33-36

Location for  LOT CODE

Location for the 5-character Line of Travel (LOT) code on the output record.

NOTE: If invalid input was presented, this field will be left blank on the output record.

If valid input was presented, but no match was successful with the Master File, the record is default coded. This field will contain four zeroes followed by a descending flag (0000D). Default-coded records are eligible for the basic enhanced carrier route rate.

Required.

37-40

Location for ALTERNATE SEQUENCE CODE

Location for the 2-character Alternate Sequence code on the output record.

Optional.

One of these fields are required if you want the program to help you sort your records in the sequence required by the USPS to obtain the basic enhanced carrier route rate.

41-44

Location  for HEXADECIMAL SEQUENCE CODE

Location for the 1-character Hexadecimal Sequence code on the output record.

45-48

Location for CARRIER ROUTE CODE

Location for the input record Carrier Route Code on the output record.

Required.

50

REPORT SUPPRESSION CODE

Determines whether the Control Totals Report will be printed. Enter one of the following codes:

  • Blank — The report will be printed (default).

  • X — The report will not be printed.

Optional.

51-66

RESERVED

These fields are reserved for future use.

 

Example

For this example, the following is the input record for Line of Travel.

....+....1....+....2....+....3....+....4....+....5....+....6....+....7....
JOSEPH.BELL...18684.BLUE.BIRD.DRIVE.......GAITHERSBURG..MD20879-123084C001
 

The parameter below shows you how to define the EXITOP parameter for this input record.

....+....1....+....2....+....3....+....4....+....5....+....6....+....7..
EXITOP.LTO60.......059C.065C.069.256.261.263.072.X......................

Value

Description

EXITOP

Parameter name.

LTO60

Name of the exit routine to be called.

059

Columns 19-22 define the location of the input record ZIP Code. C in column 23 specifies a character ZIP Code format.

065

Columns 24-27 define the location of the input record ZIP+4 Code. C in column 28 specifies a character ZIP+4 Code format.

069

Columns 29-32 define the location of the Delivery Point Code.

256

Columns 33-36 define the location for the Line of Travel code on the output record.

261

Columns 37-40 define the location for the Alternate Sequence Code.

263

Columns 41-44 defines the location for the Hexadecimal Sequence Code.

072

Columns 46-48 defines the location of the Carrier Route Code.

X

Column 50 indicates that the Control Totals Report will not be printed.