%macro doloop; %do age=11 %to 15 %by 2; title Age=&age.; proc print data=sashelp.class(where=(age=&age.)); run; %end; %mend; %doloop;