BookmarkSubscribeRSS Feed
phadnismukta
Fluorite | Level 6

I am using proc geocode with street method as follows

 

proc geocode

method = street

addressvar = ADDR

addresscityvar = CITY

addressstatevar = ST

addresszipvar = ZIP

data = address

out = addr_out

lookupstreet = geo.USM

;

run ;

 

What values it gives if zip code is missing in the input data? I am getting null values.

 

 

1 REPLY 1
ballardw
Super User

Does your data with a missing Zip have a city name that matches in the lookup? The default behavior should be to attempt to match on city when Zip is missing.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 662 views
  • 0 likes
  • 2 in conversation