LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (November 2007, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Sun, 25 Nov 2007 22:35:16 -0500
Reply-To:   "Richard A. DeVenezia" <rdevenezia@WILDBLUE.NET>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   "Richard A. DeVenezia" <rdevenezia@WILDBLUE.NET>
Subject:   Re: ZIPSTATE function, turn off invalid argument NOTE?
Comments:   To: Paul Dorfman <sashole@bellsouth.net>
Content-Type:   text/plain; charset="iso-8859-15"

Paul Dorfman wrote: > Richard, > > I would abstain from using the function at all if your purpose is > indeed to return the state from the first 3 zip digits, the reason > being two-fold: ... > Hence I have to take issue with your description of what the function > (zipstate) > does. It accepts the full zip as its argument for a reason - a full > zip corresponds to a unique state.

I was quoting the ZIPSTATE documentation vis-a-vis the 3zip->state mapping.

> 2. The function does not validate zip codes. Hence, if you need > accuracy (and I presume you do) you had better use sashelp.zipcode to > emulate the function via a format or hash, which would tangentially > also eliminate the log notes issue you started with.

Thanks for the tip and the link.

Best,

Richard


Back to: Top of message | Previous page | Main SAS-L page