建立了一个宏之后,如何存起来并调用?我看了宏语言指南,但是看不懂,有没有高手做过这个,希望能给予指点
楼主: hanbing
|
2272
1
[求助]如果存储宏,并调用宏? |
硕士生 77%
-
|
回帖推荐losttemple 发表于2楼 查看完整内容 for example. you created a macro called "time" and stored it at library "perm"libname perm 'd:\peter.hu';OPTIONS MSTORED SASMSTORE=perm;%macro time/store source; %put now is %sysfunc(time(),time11.2).;%mend time;when you want to invoke time macro, just type as following:libname perm 'd:\peter.hu';OPTIONS MSTORED SASMSTORE=perm;%time
[此贴子已经被作者于200 ...
本帖被以下文库推荐
| ||
京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明 免责及隐私声明