楼主: caijiangyao1991
2466 1

SAS ADV130题 问题讨论 [推广有奖]

  • 0关注
  • 0粉丝

大专生

26%

还不是VIP/贵宾

-

威望
0
论坛币
2866 个
通用积分
0
学术水平
3 点
热心指数
3 点
信用等级
3 点
经验
293 点
帖子
21
精华
0
在线时间
50 小时
注册时间
2013-7-10
最后登录
2020-11-11

楼主
caijiangyao1991 发表于 2016-6-15 17:38:39 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
74. the following SAS programing is submitted;
% macro one(input);
%two
%put the value is &date;
%mend;

%macro two;
data _null_;
call symput('date','12SEP2008');
run;
%mend;
%let date=31DEC2006;
%one(&date)
what is the result when the %put statement executs?
为什么选A a macro variable date with the value 12SEP2008 is retrieved from the golbal symbol table
真的是搞不明白这个局部宏和全局宏,感觉每次题目稍微变一下 我就不知道选什么,之前好像还遇到一道题,应该又是引用的应该是局部宏呀 ,而且12SEP2008  不就是局部宏吗?
能不能有哪位大神解释下,真的是没搞懂这个宏的引用



二维码

扫码加我 拉你入群

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

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

关键词:Programing statement following Variable Statemen following result null

沙发
caijiangyao1991 发表于 2016-6-16 16:17:07
另外一道题 类似 但答案不一样的
%macro trans;
%let type=airplane;
proc print data=sasuser.activities;
  where trans="&type";
run;
%location(automobile)
%put type is &type;
%mend;
%macro location(type);
data _null_;
call symput('type','Train');
run;
mend%;
%trans

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

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