p***r 发帖数: 920 | 1 Need some hint
I write a macro, and need to improve it. How can I set a timer to the
macro, and return the time information at the end. | d******9 发帖数: 404 | 2 Use the automatic macro variables.
Sysdate, sysdate9, systime etc. | l***a 发帖数: 12410 | 3 add this to both beginning and end of the code
%put %sysfunc(putn(%sysfunc(datetime()),datetime20.2));
【在 p***r 的大作中提到】 : Need some hint : I write a macro, and need to improve it. How can I set a timer to the : macro, and return the time information at the end.
| l***a 发帖数: 12410 | 4 哦,好像这样就行
%put %sysfunc(datetime(),datetime20.2);
【在 l***a 的大作中提到】 : add this to both beginning and end of the code : %put %sysfunc(putn(%sysfunc(datetime()),datetime20.2));
|
|