x cd /pub/data/mable14/Tools; %let pgm=tempcheck; filename pgm "&pgm..sas"; *--Look at blocks in city of Columbia, MO that have a blank 2014 placefp on the tgrlnfaces data set. --; libname mable14 '/pub/data/mable14'; %let stab=mo; data mable14.tempcheck; merge mable14.&stab.blks(in=inblks1) mable14.&stab.tgrlnfaces(in=inblks3 ); by state cnty tract block; where county='29019'; if placefp='15670' and placefp14=' '; *keep cnty tract block; run;