由买买提看人间百态

topics

全部话题 - 话题: 01jan2006
(共0页)
s******y
发帖数: 352
1
来自主题: Statistics版 - help with my SAS macro
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!

out
n***p
发帖数: 508
2
来自主题: Statistics版 - help with my SAS macro
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;
(共0页)