Calling C1BMCBD - 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
Language
English
Product name
CODE-1 Plus
Title
CODE-1 Plus Reference for all Platforms
Copyright
2024
First publish date
1998
ft:lastEdition
2024-05-15
ft:lastPublication
2024-05-15T00:07:55.920704

The callable batch driver C1BMCBD allows a user-supplied program to submit one address at a time to CODE-1 Plus for matching. The batch driver analyzes the address and attempts a match with the database. When an "END" call is issued to C1BMCBD, it produces the same reports as batch driver C1BM00. The USPS Form 3553 is also produced. C1BMCBD runs with all parameters used by C1BM00.

The ADDRDF, CS ZIP, FILEDF, HEADER, and at least one xx OUT parameters are required. When calling C1BMCBD for matching, send a space in the CBD-ACTION-CODE and the input record in CBD-INPUT. C1CBCBD uses the input file parameters (ADDRDF, CS ZIP, and FIRMNM) to define the input and returns an output record formatted as described by any xx OUT parameters in CBD-OUTPUT. C1BMCBD closes processing and produce reports when an "E" is sent in CBD-ACTION-CODE.

The following parameters do not function with C1BMCBD. The data is ignored.

  • FILEDF—except for C1BMSTA

  • CHCKPT

  • NTHSEL

  • SEQCHK

However, if present, these parameters must be in proper format to pass the edits. The FILEDF parameter for C1BMNAM must be present, although data from it is ignored (instead, the program supplied by the user defines the input file).

Note: iThe source code for SMPLCBD, a sample COBOL batch program for calling C1BMCBD, is included with the other sample files you received with CODE-1 Plus. On IBM i, the COBOL program is called SMCBDC, and the ILE RPG version is called SMCBDR.

The parameters to pass to C1BMCBD are supplied as a COBOL copybook (CBDPARM) with the software as described below.

Positions

Name

Length

Contents

1

CBD-ACTION-CODE

1

Code indicating whether C1BMCBD should match address or print reports.

  • Blank — Match address given in input area.

  • E — End processing, close files, and print reports.

2-3

CBD-RC

2

Return code from C1BMCBD

  • 1 — Parameter Error

  • 4 — Z4Change Error

  • 8 — Z4Change Error

  • 12 — Parameter Error

  • 16 — Parameter Error

  • 22 — General CODE-1 Plus Error

  • 24 — Geographic Coding Error

  • 26 — Z4Change Error

  • 99 — General Error

4-32763

CBD-INPUT

32760

Input record of name and address file.

32764-65523

CBD-OUTPUT

32760

Output record.