DSIC XIP (1631)    REMOTE PROCEDURE (8994)

Name Value
NAME DSIC XIP
TAG ZIPCODE
ROUTINE DSICXIP
RETURN VALUE TYPE SINGLE VALUE
AVAILABILITY AGREEMENT
DESCRIPTION
This 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.
INPUT PARAMETER
  • ZIPCODE
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   9
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    5 OR 9 DIGIT ZIP CODE
    
  • ACTDATE
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   7
    REQUIRED:   NO
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    Active 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.
    
RETURN PARAMETER DESCRIPTION
On 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)