
Rick A. answered 04/23/19
Tutor
5
(33)
Experienced SAS Professional
%macro test;
%let options=1 3 5 9;
%let i=1;
%do %until (%scan(&options,&i,' ') EQ ) ;
%let j = %scan(&options,&i,' ');
%put &j;
%let i = %eval(&i +1);
%end;
%mend test;
%test