为什么我无法访问 SAS 库
我在 SAS EG 中运行以下代码:
Data sashelp.air;
proc sgplot data=sashelp.air;
histogram AIR /;
yaxis grid;
run;
错误:用户没有库 SASHELP 的适当授权级别。
I am running the following code in SAS EG:
Data sashelp.air;
proc sgplot data=sashelp.air;
histogram AIR /;
yaxis grid;
run;
ERROR: User does not have appropriate authorization level for library SASHELP.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
该错误很可能是由于以下语句造成的:
该语句的作用(运行时)是告诉 SAS 用新数据集覆盖数据集
sashelp.air
,该数据集没有其他语句 - 所以它会用没有列的空数据集覆盖它。幸运的是,您没有
sashelp
库的写入权限,因此失败。删除该行,只运行 proc sgplot ,它应该可以工作。如果仍然出现错误,请与您的 SAS 管理员联系。
That error is most likely because of this statement:
What that statement does (when it runs) is to tell SAS to overwrite the dataset
sashelp.air
with a new dataset, which has no other statements - so it would overwrite it with an empty dataset with no columns.Fortunately, you don't have write permission to the
sashelp
library, so that fails.Remove the line, and only run the
proc sgplot
, and it should work. If that still gives you an error, then talk to your SAS administrator.