call symput("yesterday",%sysfunc(compress(%sysfunc(putn(%sysfunc(intnx(day,%sysfunc(date()),-1)),yymmdd10.)),-))||'180000');
call symput("today",compress(put(date(),yymmdd10.),"-")||'180000');
run;作者: shiyiming 时间: 2004-2-11 10:19
I did not get your point, but I think the following will do exact whatever you intended to do.