全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
1586 3
2010-09-08

Item 15 of 70 Mark item for review


Which statement is true concerning the SAS automatic variable _ERROR_?


A.


It cannot be used in an if/thencondition.



B.


It cannot be used in an assignmentstatement.



C.


It can be put into a keep statementor keep= option.



D.


It is automatically dropped.


哪位大侠知道答案的,多谢了

二维码

扫码加我 拉你入群

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

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

全部回复
2010-9-8 07:16:42
答案是D。

data test;
    set sashelp.class;
    *** It can be used in an if/thencondition;
    if _error_=0 then put "Observation" _n_;

    *** It can be used in an assignmentstatement. ;
    var=_error_;

     *** It cannot be put into a keep statementor keep= option. ;
          keep name age height _error_; /*This will cause an WARNING message in the log.*/

    *** It is automatically dropped;
        * The dataset TEST doesn't have the variable _error_;
run;
二维码

扫码加我 拉你入群

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

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

2010-9-8 07:36:12
多谢啦!!!!!!!!!!!!!!!!!!!!!!!1
二维码

扫码加我 拉你入群

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

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

2010-9-11 16:38:41
3QQQQQQQQQQQQQQQQQQQQ
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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