Rename your datasets all with the same prefix, like DS1, DS2...DS10.
%macro sortit;
%do i = 1 to 10;
proc sort data=ds&i;
by var1 var2...;
run;
%end;
%mend
%sortit;
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Registration is open
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss. Register now and lock in 2025 pricing—just $495!