x cd /pub/data/corrlst/Tools; %let pgm=superpuma2puma; filename pgm "&pgm..sas"; *--create corrlst.superpuma2puma using data from the 2000 pums datasets. We rewrite the txt file with this list which we already had but which turned out to be incomplete.--; %libname(pums2000); libname corrlst '/pub/data/corrlst'; filename pumaclst '/pub/data/corrlst/puma5_topuma1.txt'; *--write over it--; *---read the txt file to create corrlst.superpuma2puma ---; data corrlst.superpuma2puma(label='2000 Super PUMA to 5% PUMA Correlations' index=(state)); infile pumaclst; input State $2. +1 PUMA5 $5. +2 PUMA1 $5.; if length(puma1) ne 5 then do; put _all_; list; abort abend; end; length stab $2; stab=put(state,$fipstab.); run cancel; *--this is what we tried earlier that was not successful------------------; proc sql; create table corrlst.uspumas2k as select distinct state,puma1, puma5 from pums2000.ushrecs5 ; proc print data=corrlst.uspumas2k;