x cd /pub/data/stf903x/Tools; %let pgm=cnvtustractsll; 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 stf903x.ustractsll(label='ustracts dataset with lat-long coordinates added' compress=binary); length intptlat intptlon 5; format intptlat 9.5 intptlon 11.5; set stf903x.ustracts; %mlatlon(x=xcentrm,y=ycentrm,xlong=intptlon,ylat=intptlat,debug=1); run; proc print data=stf903x.ustractsll(obs=100 keep=state county tract intpt: ); by state county; id state county; run;