x cd /pub/data/acspums/Tools; %let pgm=acs2010; filename pgm "&pgm..sas"; *---Access pc sas datasets for the 20&yr.7ACS pums for Mo & US. As downloaded from AFF site, 10-24-11, jgb. The original .zip files were downloaded to the downloads subdir of acspums and we then extracted the 4 "psam" data sets used in this setup (2 Precs and 2 Hrecs sets - the data were split in 2). They will be deleted once we are sure the conversion worked. We copy and compress them to save space. ---*; libname acspums '/pub/data/acspums'; %let year=2010; %let yr=%substr(&year,3,2); *<=======================!!!!!Chanmge This Each Year!!!!!!!!!!!!!!!!!!!!!!!!!!!===; options compress=binary; *---We only get about 25% reduction. Better than nothing.---; data acspums.usprecs&yr(label="&year Person data Alabama thru Mississippi"); set acspums.psam_pusa; run; data acspums.ushrecs&yr(label="&year Housing Unit data Alabama thru Mississippi"); set acspums.psam_husa; run; proc freq data=acspums.ushrecs&yr; table st; run; data acspums.usprecs&yr.b(label="&year Person data Missouri thru Wyoming"); set acspums.psam_pusb; run; data acspums.ushrecs&yr.b(label="&year Housing Unit data Missouri thru Wyoming"); set acspums.psam_husb; run; data acspums.mohrecs&yr.; set acspums.ushrecs&yr.b; where st='29'; run; data acspums.moprecs&yr.; set acspums.usprecs&yr.b; where st='29'; run; proc contents data=acspums.mohrecs&yr.; proc contents data=acspums.moprecs&yr.;