x cd /pub/data/acspums/Tools; %let pgm=powpuma_freqs; filename pgm "&pgm..sas"; *---Look at some value relate to the powpuma vars---; %libname (acspums); proc sort data=acspums.moprecs06(keep=powpuma powsp puma) out=pumas; by puma; run; proc freq data=pumas; by puma; format puma $mopuma.; table powpuma*powsp /list missing; run;