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.
BASUG is hosting
free webinars Next up:
Mike Raithel presenting on validating data files on Wednesday July 17. Register now at the Boston Area SAS Users Group event page:
https://www.basug.org/events.