proc printto
将日志存储到新地址
例:
proc printto
log = ‘新地址’
new;
run;
表示将日志输出到新地址,new代表如果该地址有同名文件就替换掉。
如想改变log输出的路径,重新设定输出到窗口则:proc printto;run;
proc printto;run; 的作用是:
Reset the SAS log and procedure output destinations to default. PROC PRINTTO routes subsequent logs and procedure output to their default destinations and closes both of the current files.