Recode the set of questions: Q1,Q2,Q3...Q20 in the same way: if the variable has a value of 6 recode it to SAS missing.
data readin;
set outdata;
array Q(20) Q1-Q20;
do i=1 to 20;
if Q(i)=6 then Q(i)=.;
end;
run;