Supplied Copybooks - Code-1_Plus - 5.0

CODE-1 Plus Reference for all Platforms

Product type
Software
Portfolio
Verify
Product family
Data Quality - Postals
Product
CODE-1 Plus
Version
5.0
ft:locale
en-US
Product name
CODE-1 Plus
ft:title
CODE-1 Plus Reference for all Platforms
Copyright
2024
First publish date
1998
ft:lastEdition
2025-02-04
ft:lastPublication
2025-02-04T17:56:51.148000

The two call areas for EXTADDR2 are defined in the supplied EXT2PARM copybook and as a 600-byte array defined in the EXT2DATA copybook. On IBM i, the ILE RPG versions are named EXT2PARMR and EXT2DATAR.

Position

Field Name

Length

Description

Input Fields

1

EXT2-ADDR-LINE-1

100

Address Line 1.

101

EXT2-ADDR-LINE-2

100

Address Line 2.

201

EXT2-ADDR-LINE-3

100

Address Line 3.

301

EXT2-ADDR-LINE-4

100

Address Line 4.

401

EXT2-ADDR-LINE-5

100

Address Line 5.

501

EXT2-ADDR-LINE-6

100

Address Line 6.

601

Reserved

20

 

621

EXT-NO-MERGE-SEC-PMB

1

Secondary and PMB merge switch:

  • Blank — Merge any secondary or PMB information with the primary address.

  • S — Do not merge secondary or PMB information with the primary address line.

622

EXT-SKIP-FIRM

1

Firm identification switch:

  • Blank — Identify the likely firm line from the input lines.

  • S — Do not attempt to identify the firm from the input lines.

623

EXT-SKIP-URB

1

Urbanization identification switch:

  • Blank — Attempt to identify the urbanization line from the input lines.

  • S — Do not attempt to identify the urbanization line from the input lines.

624

EXT-SKIP-CSZ

1

City, State, and ZIP Code identification switch:

  • S — Do not try to identify the city, state, and ZIP Code from the input lines.

  • Blank — Attempt to identify the city, state, and ZIP Code from the input lines.

625

Reserved

76

 

Output Fields

701

EXT2-P9IZIP

5

Output ZIP Code. ZIP Code identified unless the City/State/ZIP identification switch was set to "S".

706

EXT2-P9IZIP4

4

Output ZIP+4 add-on. ZIP + 4 add-on code identified unless the City/State/ZIP identification switch was set to "S".

710

EXT2-P9IAD1

100

Primary address line.

810

EXT2-P9IAD2

100

Secondary address line.

910

EXT2-P9IFRM

100

Firm name.

1010

EXT2-P9ICST

100

City/state.

1110

EXT2-P9IURB

35

Urbanization name.

1145

Reserved

11

 

1156

EXT2-INPUT-TYPES

6

Input types. Should be set to "A     " (uppercase "A" and five spaces) to activate processing using the Firm, Urbanization, and City/State/ZIP identification switches.

1162

Reserved

39

 

EXT2PARM Copybook

EXT2DATA Copybook

The second parameter that must be passed to EXTADDR2 is defined in the table below and in the EXT2DATA copybook. EXTADDR2 returns information from the six input lines that was not used to create the data fields that are passed to the matcher to code an address (this data is referred to as Additional Input Data). This call area is required but the information is returned for your convenience and is not needed to code an address.

Position

Field Name

Length

Description

1

EXTRA-DATA-LINE1

100

Extra data from input line 1

101

EXTRA-DATA-LINE2

100

Extra data from input line 2

201

EXTRA-DATA-LINE3

100

Extra data from input line 3

301

EXTRA-DATA-LINE4

100

Extra data from input line 4

401

EXTRA-DATA-LINE5

100

Extra data from input line 5

501

EXTRA-DATA-LINE6

100

Extra data from input line 6