For number 1, I am not sure what you have. What are your observations? Is it the lat/long of points? Is it the state/county names? Do you have a map of counties? Or something else? If it is counties and you want the ZIP Code of the county, is there anything in your data that links the two? You could use the SASHELP.ZIPCODE file to look up the name of the state and county. But there are multiple ZIP Codes per county. Or if you don't have the name of the county, you could use SAS/Graph and Proc GINSIDE, If you have a map of counties (in the Library MAPSGFK) and then a point file of ZIP Codes (that is in SASHELP). It will find the county that each point falls in. But again, there are multiple ZIP Codes per county. So, I need to know what is in your data. There are probably other ways. Note, the ZIP Code changes over different months and years. For example, one ZIP Code might become split and be 2 or 3. If you are looking at historical records, a ZIP Code now may not have been there a year ago.
... View more