Kernel 8.0 APIs Banner [skip navigation]
Office of Information & Technology (OIT) Banner

CCODE^XIPUTIL(): FIPS Code Data

Reference Type: Supported, Category: Address Hygiene, Integration Agreement: 3618

Description

This API returns all the data associated for a FIPS code.

Format

  CCODE^XIPUTIL(fips,.xipc)

Input Parameters

fips:

(required) FIPS Code.

Output Parameters

xipc:

An array containing the following:

XIPC("COUNTY")—County associated with this FIPS code.
XIPC("FIPS CODE")—5-digit FIPS county code.
XIPC("INACTIVE DATE")—Date the FIPS code was inactivated.
XIPC("LATITUDE")—Estimated Latitude of the county.
XIPC("LONGITUDE")—Estimated Longitude of the county.
XIPC("STATE")—State associated with this FIPS code.
XIPC("STATE POINTER")—Pointer to the state in the STATE file (#5).
XIPC("ERROR")—Errors encountered during lookup.

Example

>S ZFIPS=54041

>S ZTMP=""

>D CCODE^XIPUTIL(ZFIPS,.ZTMP)

>ZW ZTMP,ZFIPS
ZFIPS=54041
ZTMP=
ZTMP("COUNTY")=LEWIS
ZTMP("FIPS CODE")=54041
ZTMP("INACTIVE DATE")=
ZTMP("LATITUDE")=39:00N
ZTMP("LONGITUDE")=80:28W
ZTMP("STATE")=WEST VIRGINIA
ZTMP("STATE POINTER")=54

 

VA (Internet) / VA(Intranet) / OI / PD / Site Map / Terms of Use / VA Privacy Policy / Accessibility

Reviewed/Updated: August 26, 2011

If you have questions, need more information, or are having accessibility problems with this website, please contact us by E-Mail: Webmasters, Phone: 510-768-6800, or FAX: 510-768-6850.