I like Tom's suggestion, but think that the variables have to be separated by commas and that the condition isn't quite what you want. I think the following comes closer: data test; set sashelp.class; if _n_ eq 3 then call missing(age); if _n_ eq 5 then do; call missing(age); call missing(height); end; run; data want; set test; where nmiss(age,height,weight) < 1; run;
... View more