1. Proc MEANS by default produces printed output in the OUTPUT window whereas Proc SUMMARY does not. Inclusion of the PRINT option on the Proc SUMMARY statement will output results to the output window.
2. Omitting the var statement in PROC MEANS analyses all the numeric variable whereas Omitting the variable statement in PROC SUMMARY produces a simple count of observation.
How to produce output in the OUTPUT window using PROC SUMMARY?
Use PRINT option.
proc summary data=retail print;
class services;
var investment;
run;