why you need an extra step for creating a M var.
%let Date =%qsysfunc(inputN(01JAN2006,date9), yymmddn8);
%put >&date<;
%let Date =%qsysfunc(putN('01JAN2006'd, yymmddn8));
%put >&date<;
BAOZI please!
I kept getting error message when i ran the code below. Can anyone point out
what is wrong? how to modify the code? thanks.
%let Date = 01JAN2006 ;
data _null_;
call symputx("date",left(put(&date,yymmddn8.)));
run;