x cd /pub/data/stf903x/Tools; %let pgm=cnvtmlatlon; filename pgm "&pgm..sas"; *---convert the mile coords in old dataset to lat, long by reversing the latlonm conversion using mlatlon macro.---; libname stf903x '/pub/data/stf903x'; options mprint; data new; set stf903x.ustracts(where=(state in ('02','29'))); %mlatlon(x=xcentrm,y=ycentrm,debug=1); keep state county tract xlong ylat; run; proc print; by state; run;