LESSON 3: WIDE FILE AND RESULTING TRANSPOSED NARROW FILES
support.sas.com
edit: actually no just do:
%macro create(n)
%do i=1 %to &n.;
data &i.;
set data(keep=&i.);
rename &i.=grade;
run;
%end;
%mend;
%create(12)
then merge them together with 1 to 1 reading
data all;
set 1;
set 2;
....
run;





Reply With Quote
