%two
%mend;
%macro two;
data _null_;
call symputx(’date’, ’12SEP2008’, ’L’);
run;
%put the value is &date;
%mend;
%let date = 31DEC2006;
%one(&date)
为何date是从two的local table出来?date 值是31dec2006 然后在变成12sep2008 从一开始一直是global啊?symputx里的‘L’ 是指local? 'G'是global? 资料里没见过啊
l
ibname A ’SAS library reference’;
libname F ’SAS library reference’;
options fmtsearch = (A F.X);
What is the second location searched for formats? 为何是work.formats? 按书上不是work.formats-library formats-a.formats-f.x吗?
![](https://bbs-cdn.datacourse.cn/static/2017/f68.png)