Hello, I have SAS 9.4. I am trying to measure the distance between two cities. I have HQ_ZIP variable and Affiliate_ZIP variable. For example, HQ_ZIP AFF_ZIP 12345 98765 34567 87654 67890 76362 34543 65432 I want a new variable that measures the distance between HQ_ZIP and AFF_ZIP I tried; distance = zipcitydistance ( HQ_ZIP, AFF_ZIP) but it did not work. Help would be very appreciated.
... View more