I would like to pass do
iterator as value - see example below
%macro print_to_log(val=);
%put &val;
%mend print_to_log;
data _null_;
do i = -15 to 0;
%print_to_log(val=i);
end;
run;
It only prints the character i
to the log.