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
[此贴子已经被作者于2008-3-7 13:30:20编辑过]