Suppose I have a dataset full, and I want to select all variables and put them in the var statement in the proc summary statement. Is there an easy way to do this? How do I select all variables in the select statement?
proc sql noprint;
select * into :all separated by " "
from full;
%put all = &all.;
proc summary data=full print;
*var &list of variables from dataset;
class type;
output out=work.summary;
run;