x cd /pub/data/popests/Tools; %let pgm=mapdata; filename pgm "&pgm..sas"; /*-------Generate mapping data... John Blodgett, OSEDA, Under contract with the Missouri Census Data Center ------*/ %let temp=temp; *<--set to null when out of embargo--; libname popests "/pub/data/popests/&temp"; %let year=2004; %let yr=%substr(&year,3,2); libname temp '/pub/data/temp'; data temp.togo; set popests.mocasrh04; where sumtype='h' and hispanic='2'; change=popest_2004-estbase; if estbase then pctChange=100*Change/estbase; format pctChange 5.1; keep fipco change estbase popest_2004 pctchange; run;