There is a TRANSPOSE procedure:
proc transpose data=have out=want (rename=(_Name_=Letter Col1=Value));
by id group subgroup;
run ;
You can also transpose data with arrays.
The Boston Area SAS Users Group is hosting
free webinars!
Next up:
Troy Martin Hughes presents Calling Open-Source Python Functions within SAS PROC FCMP: A Google Maps API Geocoding Adventure on Wednesday April 23.
Register now at
https://www.basug.org/events.