全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
3089 1
2012-07-31

Item 57
Which of the following is true about the COMPRESS=YES data set option?
A. It uses the Ross Data Compression method to compress numeric data.
B. It is most effective with character data that contains repeated characters.
C. It is most effective with numeric data that represents large numeric values.
D. It is most effective with character data that contains patterns, rather than simple repetitions.

Item 62 of 63 Mark item for review  

  Given the following macro program      

  and invocation:

  %macro MAKEPGM(NEWNAME, SETNAME);      

     data &NEWNAME;     

        set &SETNAME;   

     run;     

     %put ---> inside macro &NEWNAME &SETNAME;

  %mend;      

  %MAKEPGM(WORK.NEW, SASHELP.CLASS)      

  %put ---> outside macro &NEWNAME &SETNAME;   

Which of these choices shows the correct %PUT  

statement output if the program is submitted at

the beginning of a new SAS session? Note that  

other lines may be written to the SAS log by the  

program but only the %PUT output is shown here.

        A.

---> inside macro WORK.NEW SASHELP.CLASS  

---> outside invocation WORK.NEW SASHELP.CLASS      

     B.

---> inside macro WORK.NEW SASHELP.CLASS  

---> outside invocation &NEWNAME &SETNAME

     C.

---> inside macro &NEWNAME &SETNAME

---> outside invocation WORK.NEW SASHELP.CLASS      

     D.

---> inside macro &NEWNAME &SETNAME

---> outside invocation &NEWNAME &SETNAME

二维码

扫码加我 拉你入群

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

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

全部回复
2012-9-5 11:24:37
57. 个人认为应该是B,compress=binary则答案位D,可以参考pre guide得解释
62. NEWNAME, SETNAME都是local macro variable,因此inside可以引用的到,而outside就引用不到咯,所以是B
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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