如果&month的值为3,那么生成一个新的month_1=12,并且新的year_1=&year-1;
否则的话,这个month_1=&month-3,并且year_1=&year。
data a_last;
set a;
where year(accper)=year_1 and month(accper)=month_1;
run;
%mend;
请问这个怎么办到呢?

|
楼主: daazx
|
1632
2
SAS宏变量的生成问题 |
|
已卖:2份资源 教授 2%
-
TA的文库 其他...
|
| ||
|
|
| ||
加好友,备注cda京ICP备16021002号-2 京B2-20170662号
京公网安备 11010802022788号
论坛法律顾问:王进律师
知识产权保护声明
免责及隐私声明


