我正在调试一个将 PDF 写入_webout
.
在工作区会话中运行时,我想避免以下错误:
ERROR: Function is only valid for filerefs using the CACHE access method.
我试过了filename _webout temp
,filename _webout dummy
但无济于事。
该领域有什么建议吗?
我正在调试一个将 PDF 写入_webout
.
在工作区会话中运行时,我想避免以下错误:
ERROR: Function is only valid for filerefs using the CACHE access method.
我试过了filename _webout temp
,filename _webout dummy
但无济于事。
该领域有什么建议吗?
你有没有尝试过
filename _webout cache;
这似乎在我的版本中有效,但我不知道输出的去向。
另一种方法是检查 _webout 文件引用的引擎类型,如果 xengine 是 STREAM,则避免使用标头函数。
此宏服务: https ://core.sasjs.io/mf__getxengine_8sas.html
用法:
%if %mf_getxengine(_WEBOUT)=STREAM %then %do;
/* set header function */
%end;