Hi Experts, I am trying to return the value of macro variable that has been created using call symput but I am unable to do so.
Below is the piece of code I am trying:
%macro add_sym(a = , b = ); data _null_; call symputx('d',%eval(&a + &b)); run; &d. %mend add_sym;
data _null_; sum = %add_sym(a = 1, b = 4); put sum = ; run;
Please provide your expert help.
Thanks,
Gurpreet Kaur
... View more