What code have you written?
What happens when you run this program?
Here's one way to proceed:
proc summary data=have nway;
var col1 col2 col3;
class usubjid;
output out=want (drop=_type_ _freq_) max=;
run;
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.