指定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;

posted @ 2017-08-04 10:58  Anni爱摩天轮  阅读(314)  评论(0编辑  收藏  举报