Hello,
I have this code to put the data I need separated by a comma. Now, what I need is a new line after the comma.
Currently, I have this
1 due to symptom1,2 due to symptom2,1 due to symptom3,3 due to symptom4,1 due to symptom5, 1 due to symptom6, and so on..
What I need is
1 due to symptom1,
2 due to symptom12,
1 due to symptom3,
3 due to symptom4,
1 due to symptom5,
1 due to symptom6,
and so on..
My code :
data want; length cat $10000; do until (last.death_onstudy); set freqs; by death_onstudy notsorted; cat=catx(',',cat,death_reason); end; run;
Please help get each symptom to a new line. Thanks very much in advance!!!
... View more