jsuper1261 发表于 2012-10-22 10:44 
哦,谢谢。
那第一个问题呢?
Q: &name&n ,&name.&n ,&&name.&n这3个有区别吗?
A: In this context they are the same. ---> dsn5;
Q: 我总觉得,&name&n会被解析成&name1吗。。
A: &name&n = resoved &name || resoved &n = dsn5
SAS resolves process for a macro variable &&name&n 1) &&-->& and &n --->5
2) &name5 ---> the value of macro variable of name5. If the variable is not defined, SAS macro facility will issue a warning message.