Data task; Input ID ONum notes & $ 30.; cards; 11 10001 This is a Test 11 10001 of SAS 11 10002 Today the weather was good 11 10002 Busy Shopping 44 19999 Fishing 55 77777 Working on car 55 77777 Hunting 55 77777 Swimming ; run; Data task_final; retain id onum ; length new $ 50; do until (last.onum); set task; by onum; new=catx(" ",new,notes); end; Keep ID ONum new; run;
... View more