There are two versions of C1CTYLKx:
-
C1CTYLKP (COBOL)
-
C1CTYLKC (CICS)
You can call the C1CTYLKP COBOL subroutine from your own program. C1CTYLKP uses your copy of the CODE-1 Plus database to match ZIP Codes to city/state combinations. You can use C1CTYLKP to have CODE-1 Plus:
-
Retrieve a city/state for a given ZIP Code.
-
Retrieve a ZIP Code for a given city/state (see important restrictions below).
-
Verify that a given ZIP Code and city/state combination is correct.
-
Retrieve detailed information for a given city/state including the short city name.
C1CTYLKC performs the identical functions on the CICS platform.
C1CTYLKx can provide three different functions, depending upon the type of data that is passed from the calling program. The functions for each data type are described in the following sections.