C1PDBPRT is a callable routine that generates the CODE-1 Plus Database Print Report. You can select up to 100 ZIP Code ranges from the database and print the addresses residing within those ZIP Code ranges. For each selected ZIP Code, you can also produce the following reports.
Report |
Description |
---|---|
City Report |
Lists all of the cities that are cross-referenced by the ZIP Codes within the specified ranges. |
Related ZIP Report |
Lists all of the ZIP Codes that are in the localities of each ZIP Code within the specified ranges. |
Address Report |
Lists detail records, such as firms, streets, house ranges, apartments, that are cross-referenced by each ZIP Code within the specified ranges. Available in a 1- or 2-column format. |
Alias Street Report |
Lists every alias record that is cross-referenced by each ZIP Code within the specified ranges. |
To produce the CODE-1 Plus Database Print Report, follow these steps:
-
Define the C1PDBPRT parameters to specify the ZIP Code ranges to include in the Database Print Report and any additional reports to generate for each ZIP Code.
-
C1PDBPRT calls program G1CPLKB and passes a parameter call area that contains the information that G1CPLKB requires to generate the report. Some of this information originates from the parameters.
-
G1CPLKB passes back to C1PDBPRT the information that C1PDBPRT requires to print the appropriate reports.
-
C1PDBPRT prints the Parameter Record Listing, Database Print Report, and the City, Related ZIP Code, Address, and Alias Street Report as specified.
This chapter presents the parameter layouts needed to use C1PDBPRT as well as the parameter call area and control language that you need to use G1CPLKB.