|
Hello SAS-Ls,I have a large data file. Each patient has multiple line of his disease, but each patient has only one ID on the 1st line. I need to add his IDto all his disease lines. How do I add the ID to all lines in SAS code? And patients have differentnumber of lines, some have 3 and some have only 1.My data format is below:ID var1 var21 ER A ER B ED C2 ER D OP EWhat I need is below:ID Var1 var21 ER A1 ER B1 ED C2 ER D2 OP E Thanks much!Jane
|