I have a dataset like below: ID PRIM DX_LINE ICD10_TDL1 icd10_TDL2 icd10_TDL3 icd10_TDL4 icd10_TDL5 icd10_TDL6 11111148 2 1 Z23 11111148 2 1 Z23 G20 M54.16 11111130 2 1 K22.70 11111130 2 1 K22.70 Z86.010 11111130 2 1 K63.5 K57.30 11111175 1 1 K21.9 11111175 1 1 R13.10 R94.5 K21.9 Z12.11 M85.80 R03.0 11111175 1 1 Z12.11 And my desired output should look like: ID PRIM DX_LINE ICD10_TDL1 icd10_TDL2 icd10_TDL3 icd10_TDL4 icd10_TDL5 icd10_TDL6 11111148 2 1 Z23 G20 M54.16 11111130 K22.70 Z86.010 K63.5 K57.30 11111175 R13.10 R94.5 K21.9 Z12.11 M85.80 R03.0 I am new to SAS, please help.
... View more