指定LOG存储路径
/**************************
*目标:指定LOG输出路径
*PROC PRINTTO 后面可以接FILE, LABEL, LOG, NAME, NEW, PRINT, UNIT
***************************/
PROC PRINTTO LOG='E:\PRINT_LOG.LOG';
RUN;
DATA A;
SET SASHELP.CLASS (FIRSTOBS=2 OBS=10);
RUN;
PROC PRINTTO;
RUN;
PROC PRINTTO PRINT='E:\PRINT_LST.LST';
RUN;
PROC PRINT DATA=SASHELP.CLASS;
RUN;
PROC PRINTTO;
RUN;
Stay hungry, stay foolish