1 PROC PRINT DATA=data-set NOOBS LABEL; 2 BY Variable-list;/*需提前排序,对每个BY变量输出,且在每页顶部打印该页By变量名*/ 3 ID Variable-list;/*不打印出观测值,且放在最左边*/ 4 SUM Variable-list; 5 VAR Variable-list; 6 RUN;