|
|
Reference Type: Supported, Category: Address Hygiene, Integration Agreement: 3618
This API returns all of the active ZIP Codes for a single ZIP Code.
POSTALB^XIPUTIL(pcode,.xip)
| pcode: |
(required) Postal Code for which the data is being requested. |
| .xip(n): |
The number of primary subscripts in an array: XIP(n,"CITY")City that the USPS assigned to this PCODE. An asterisk "*" indicates which city is PREFERRED (DEFAULT). |
|
>S ZCODE=26452 >S ZTMP="" D POSTALB^XIPUTIL(ZCODE,.ZTMP) >ZW ZTMP,ZCODE ZCODE=26452 ZTMP=2 ZTMP(1,"CITY")=WESTON* ZTMP(1,"CITY ABBREVIATION")= ZTMP(1,"CITY KEY")=X29362 ZTMP(1,"COUNTY")=LEWIS ZTMP(1,"COUNTY POINTER")=335 ZTMP(1,"FIPS CODE")=54041 ZTMP(1,"POSTAL CODE")=26452 ZTMP(1,"PREFERRED CITY KEY")=X29362 ZTMP(1,"STATE")=WEST VIRGINIA ZTMP(1,"STATE POINTER")=54 ZTMP(1,"UNIQUE KEY")=26452X29362 ZTMP(2,"CITY")=VALLEY CHAPEL ZTMP(2,"CITY ABBREVIATION")= ZTMP(2,"CITY KEY")=X2A444 ZTMP(2,"COUNTY")=LEWIS ZTMP(2,"COUNTY POINTER")=335 ZTMP(2,"FIPS CODE")=54041 ZTMP(2,"POSTAL CODE")=26452 ZTMP(2,"PREFERRED CITY KEY")=X29362 ZTMP(2,"STATE")=WEST VIRGINIA ZTMP(2,"STATE POINTER")=54 ZTMP(2,"UNIQUE KEY")=26452X2A444
|
VA (Internet) / VA (Intranet) / OI / HSD&D / Site Map / Terms of Use / VA Privacy Policy / Accessibility Reviewed/Updated:
December 14, 2005
|