全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
1490 0
2015-08-31
在论坛里学到了许多东西,这次正好被朋友问了这道题,我找了一下资料把正确的信息回馈给各位。

Global statements do not apply to a DATA stepview. Global statements such as theFILENAME, FOOTNOTE, LIBNAME, OPTIONS, and TITLE statements, even if included inthe DATA stepthat created the SAS view, have noeffect on the SAS view. If you doinclude global statements in your source program statements, SAS stores the DATA stepview but not the global statements.When the view is referenced, actualexecution can differ from the intended execution.

所以答案是C,因为infile rawdata中的rowdata是一个filename,不能被应用到data step view中。

如果rowdata是一个带引号的标准路径引用(比如:infile 'd:\rowdata.txt'),那就要选B了

[size=13.3333330154419px]补充:有些朋友说他们把这段话编译后没有错误,那是因为编译后这段话只是被sas保存了(并没有保持filename),所以当你的这个view被以后引用时就会出问题了(如何引用可以自己查资料)。


二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群