刚开始接触sas 用的是online tutor。有关输出的两个问题一直不懂。
为什么指定输出路径一定是特定文件夹比如我的是c:\program files\sashome\sasfoundation\9.3\...
其它文件夹如c:\就不行
第二个问题是今天学ods遇到的
ods listing close;
ods html body='c:\program files\sashome\sasfoundation\9.3\billing1.htm';
proc print data=sasuser.insure;
run;
ods html close;
ods listing;
log显示
NOTE: Writing HTML Body file: c:\program files\sashome\sasfoundation\9.3\billing1.htm
ERROR: A component of C:\Program Files\SASHome\SASFoundation\9.3\c:\program
files\sashome\sasfoundation\9.3\billing1.htm is not a directory.
ERROR: No body file. HTML output will not be created.
于是我试着改了第二行:
ods html body='billing1.htm';
顺利运行。
这时为啥文件路径必须省略呢?
谢谢解答~