DSIC XIP

TITLEVALUE
NAMEDSIC XIP
DESCRIPTIONThis returns address demographics for a 5 or 9 digit zip code
The return value is for the primary location associated with the ZIP code.
if an error: -1 ^ ERROR MESSAGE
if OK: Input ZIP code ^ city ^ state ^ county ^ FIPS county code
the return is for the primary location associated with the ZIP code.
TAGZIPCODE
ROUTINEDSICXIP
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERZIPCODE
DESCRIPTION5 OR 9 DIGIT ZIP CODE
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH9

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERACTDATE
DESCRIPTIONActive date in internal Fileman format. If this parameter is passed,
then only return zip code demographics for ones which were active as of
the inputted date.

If it is not passed, then return zip code info regardless of active
status.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH7

RETURN VALUE TYPESINGLE VALUE
RETURN PARAMETER DESCRIPTIONOn error, return -1^error message
Else return p1^p2^p3^p4^p5^p6^p7^p8 where
p1 = inputted zip code p5 = FIPS county code
p2 = city p6 = state abbreviation
p3 = state (full name) p7 = ptr to STATE file (#5)
p4 = county (full name) p8 = ptr to COUNTY CODE file (#5.13)
AVAILABILITYAGREEMENT
INACTIVE
CLIENT MANAGER
WORD WRAP ON
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED