In addition to using PROC MEANS and the STACKODSOUTPUT option, you can use PROC UNIVARIATE and the OUTTABLE= option. PROC UNIVARIATE outputs 46 descriptive statistics, some of which are not available in PROC MEANS. For details and a comparison with PROC MEANS, see "Save descriptive statistics for multiple variables in a SAS data set."