Thanks and appreciated for your help. This is what I get. My code: data want; length lastname $15.; input id lastname initial $ RestHR MaxHR RecHR TimeMin TimeSec Tolerance $; name = catx('',lastname, initial); drop lastname initial; cards; 2458 Murray, W 72 185 128 12 38 D 2462 Almers, C 68 171 133 10 5 I 2501 Bonaventure, T 78 177 139 11 13 I 2523 Johnson, R 69 162 114 9 42 S 2539 LaMance, K 75 168 141 11 46 D ; run; proc print;run; Here is the output: How can I get name in the first column after obs? What is the importance of this line drop lastname initial; Thanks.
... View more