楼主: spssone
3111 1

[原创博文] sas adv有二个不大懂啊,求助 [推广有奖]

  • 1关注
  • 3粉丝

讲师

44%

还不是VIP/贵宾

-

威望
0
论坛币
78 个
通用积分
1.0035
学术水平
2 点
热心指数
3 点
信用等级
2 点
经验
98 点
帖子
341
精华
0
在线时间
631 小时
注册时间
2008-9-20
最后登录
2022-12-29

楼主
spssone 发表于 2012-7-31 14:51:57 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币

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

二维码

扫码加我 拉你入群

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

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

关键词:compression represents Characters Character Effective represents character effective following repeated

沙发
sunset1986 发表于 2012-9-5 11:24:37
57. 个人认为应该是B,compress=binary则答案位D,可以参考pre guide得解释
62. NEWNAME, SETNAME都是local macro variable,因此inside可以引用的到,而outside就引用不到咯,所以是B
已有 1 人评分学术水平 热心指数 收起 理由
OhAmoy + 1 + 1 观点有启发

总评分: 学术水平 + 1  热心指数 + 1   查看全部评分

An honest tale speeds best being plainly told.
Cheers!

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2026-1-1 21:18