The simplest way is using IML .
data have ;
input var1-var4 ;
cards;
0.5 1 1.2 0.4
0.9 1 1.5 0.2
0.7 1 1.1 0.3
1 1 1 1
;
proc iml;
use have nobs nobs;
read all var _all_ into x[c=vname];
close;
drop=vname[loc((x=1)[+,]=nobs)];
submit drop;
data want;
set have;
drop &drop;
run;
endsubmit;
quit;
... View more