I have a list of variables that need to be run in a SAS macro.
%let var=
A10Y
B2D
C112D
D
ER
RT
DDS
AQWE
DA
And I have a macro like this:
%macro st(inputx);
proc means data = suy;
var &inputx.;
run;
%mend;
I want to write a loop because if the number of variables are bigger than 100, I don't want to specify them one by one.