%include '/pub/sas/autoexec.sas';

libname mable22 '/pub/data/mable22';

%macro doit(state, stab);

  PROC SQL;
     update mable22.&stab._blocks
      set SLDU22 = '-'
      where SLDU22 is NULL or SLDU22 = '' or SLDU22 = '-' or SLDU22 = '*' or SLDU22 = '(w)';

     update mable22.&stab._blocks
      set SLDL22 = '-'
      where SLDL22 is NULL or SLDL22 = '' or SLDL22 = '-' or SLDL22 = '*' or SLDL22 = '(w)';

     update mable22.&stab._blocks
      set CD118 = '-'
      where CD118 is NULL or CD118 = '' or CD118 = '-' or CD118 = '*' or CD118 = 'w';

  quit;

  %mend doit;


%dostates(n=52); 
