h******e 发帖数: 1791 | 1 请给看看以下code为什么把结果打在了log里而不是指定文件?
outfile已经设好,没问题。
string是dataset report里需要输出的变量。
proc printto new print = outfile; run;
data _null_;
set report;
put @1 string $char134.;
run;
proc printto; run; |
R*********i 发帖数: 7643 | 2 Did you forget the "file xxxx" statement? By default contents after "put"
statement go to the log. |
h******e 发帖数: 1791 | 3 no, outfile has been set:
filename outfile "&outpath.&fname..txt";
【在 R*********i 的大作中提到】 : Did you forget the "file xxxx" statement? By default contents after "put" : statement go to the log.
|
h******e 发帖数: 1791 | 4 彻底明白了,多谢了。
【在 R*********i 的大作中提到】 : Did you forget the "file xxxx" statement? By default contents after "put" : statement go to the log.
|