You need to divide your process into few steps. Step 1: Use proc transpose to transpose your data Step 2: Use data step to define new columns (variables) comment1, comment2, comment3 Step 3: Use proc print (or any other, as you wish) to create report and by statement (by ID) to have your report grouped by ID (every new ID will show on the separate page). To use by instruction you need to first sort data by ID (proc sort)
... View more