The following example
creates an output data set but does not create a report:
proc summary data=clinic.diabetes;
var age height weight;
class sex;
output out=work.sum_gender
mean=AvgAge AvgHeight AvgWeight;
run;
If you
placed a PRINT option in the PROC SUMMARY statement above, this program
would produce the same report as though you replaced the word SUMMARY
with MEANS.
proc summary data=clinic.diabetes print;
var age height weight;
class sex;
output out=work.sum_gender
mean=AvgAge AvgHeight AvgWeight;
run;