x cd /pub/data/georef/Tools; %let pgm=addaaa_tomocogeos; filename pgm "&pgm..sas"; *--Add aaa codes to the georef.mocogeos dataset. 9-17-02---; title "georef.&pgm"; libname georef '/pub/data/georef'; data georef.mocogeosa; *<======rename to mocogeos after confirming all is well===!!!!!!!!!!!!; merge georef.mocogeos(drop=aaa) georef.aaa_cnty(keep=fipco aaa); by fipco; run; proc print data=georef.mocogeosa; title2 'georef.mocogeos(a)'; run;