Yes, bur first off, please avoid shouting code at us, and finish macro variables with a dot, use the code window, and indentations!!
data _null_;
a=put(intnx('year',today(),-1),year4.);
b=put(intnx('year',today(),0),year4.);
call symput("A",a);
call symput("B",b);
call symput("C",catx('/',a,b));
run;
%put A=&a.;
%put B=&b.;
%put C=&c.;
The next question is, why put the today() result in a macro variable at all, or in fact the other two data items? Each of these elements can simply be found by querying the today() function at the appropriate moment?
... View more