由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - SAS advance Quiz 一问
相关主题
问个SAS题目,%do questions
SAS help : The scope of macro variables请教一个SAS Macro的问题
sas 代码问题SAS help : get macro variables as an string but not character variable.
请问SAS ADV 130中74 和80题请教SAS adv 题库一道macro题
how to create page x of y in SASmacro问题诚心求教非常感谢
why this error in %if statement求教2道sas advance题目,包子答谢。
How to set initial dataset to zero in a SAS macro?SAS DATA 求助
Help Please! SAS Advanced 考证题求助[合集] SAS 问题:如何在使用macro的时候保护data。
相关话题的讨论汇总
话题: price话题: data话题: daily话题: fee话题: symget
进入Statistics版参与讨论
1 (共1页)
t****y
发帖数: 576
1
我觉得题目并没有特别限定,a和d都对,a可能得不到想要得value但题目并没有说想给
price赋什么样的值啊
Which of the following statements correctly creates a DATA step variable
named Price and assigns to it the value of the macro variable daily_fee
during DATA step execution?
a.
price=&daily_fee;
b.
price=symget(daily_fee);
c.
price=symget(&daily_fee);
d.
price=symget("daily_fee");
d******9
发帖数: 404
2
No. Only d correct.
Please pay attention to the question:
Which of the following statements correctly creates a DATA step variable
named Price and assigns to it the value of the macro variable daily_fee
***during DATA step execution *** ?
The key point is: during DATA step execution.
Although price=&daily_fee can finally get the same results, but it actually
get the assigned macro variable value during MACRO PROCESSING phase, which
is before the data step execution.
1 (共1页)
进入Statistics版参与讨论
相关主题
[合集] SAS 问题:如何在使用macro的时候保护data。how to create page x of y in SAS
ADV 12月真题一问why this error in %if statement
问几道SAS BASE 70题题目,多谢How to set initial dataset to zero in a SAS macro?
请教 sas base 70题 第46题Help Please! SAS Advanced 考证题求助
问个SAS题目,%do questions
SAS help : The scope of macro variables请教一个SAS Macro的问题
sas 代码问题SAS help : get macro variables as an string but not character variable.
请问SAS ADV 130中74 和80题请教SAS adv 题库一道macro题
相关话题的讨论汇总
话题: price话题: data话题: daily话题: fee话题: symget