DATA Step, Macro, Functions and more

PROC REPORT

Reply
Regular Learner
Posts: 1

PROC REPORT

I HAV A DATA LIKE THIS

data x;
input id$ age;
cards;
001 45
001 54
001 57
002 45
002 52
;
run;

I HAVE TO GET LIKE THIS BY USING PROC REPORT CAN ANYBODY HELP ;
id  age
001 45
       54
       57
002 45
       52;

Super User
Posts: 19,855

Re: PROC REPORT

Posted in reply to vishnuvardhan

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

Ask a Question
Discussion stats
  • 1 reply
  • 139 views
  • 0 likes
  • 2 in conversation