I HAV A DATA LIKE THIS
data x;input id$ age;cards;001 45001 54001 57002 45002 52;run;
I HAVE TO GET LIKE THIS BY USING PROC REPORT CAN ANYBODY HELP ;id age001 45 54 57002 45 52;
What have you tried? It should be a GROUP on your ID variable bit otherwise straight forward.
See page 2 here
http://www.caloxy.com/papers/65_HOW07.pdf
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
Register Now
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.
Browse our catalog!