Only from SAS 9.3
http://support.sas.com/kb/46/427.html
ods output summary=outsum;
proc means data=sashelp.class stackodsoutput Mean Stddev Sum nway;
class age;
var height weight;
run;
ods output close;
Thanks, J.