x cd /pub/data/acspums/Tools; %let pgm=acs20073yr; filename pgm "&pgm..sas"; *---Access 3yr ACS PUMS sas datasets for the 2005-2007 period. As downloaded from AFF site, 1-20-09, jgb. Just doing the Missouri files for now. There was a problem with the usprecs zip file. ---*; libname temp '/SAS_temp'; *--this is where we downloaded the .zip file and unzipped the us datasets. NOT USED YET!!-; libname acspums '/pub/data/acspums'; %let year=2007; %let yr=07; /* =======================Begin comment================ proc datasets library=acspums nolist; *--rename the datasets as downloaded from the Bureau (as SAS datasets!)--*; change psam_pusa=usprecs&yr.3yr; change psam_husa=ushrecs&yr.3yr; *change psam_pusb=usprecs&yr.b; *change psam_husb=ushrecs&yr.b; quit; ======================End comment================== */ data acspums.mohrecs&yr.3yr(label="MO H recs data for 3-year period ending 20&yr" compress=binary); set acspums.psam_h29; run; data acspums.moprecs&yr.3yr(label="MO P recs data for 3-year period ending 20&yr" compress=binary); set acspums.psam_p29; run; proc contents data=acspums.mohrecs&yr.3yr; proc contents data=acspums.moprecs&yr.3yr;