Hello team,
%let x=1;
%let items=2;
%macro test(val);
data _null_;
call symputx('items', ' leading and trailing blanks removed ', 'L');
call symputx(' x ', 123.456);
run;
%put local items &items;
%mend test;
%test(100)
%put items=!&items!;
%put x=!&x!;
Can someone please explain about this?
call symputx('items', ' leading and trailing blanks removed ', 'L');
What does this three strings passed to symputx mean?
I look at the log, I am totally confused.
First, it says these two macro variables:
%let x=1; %let items=2;
and then it says:
call symputx('items', ' leading and trailing blanks removed ', 'L'); call symputx(' x ', 123.456);
what does %test(100)?
Regards,
BittenApple
... View more