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).
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.
|
2-3 |
CBD-RC |
2 |
Return code from C1BMCBD
|
4-32763 |
CBD-INPUT |
32760 |
Input record of name and address file. |
32764-65523 |
CBD-OUTPUT |
32760 |
Output record. |