Dorfman and Whitlock are names of experts who in discussion together came up with an approach that moves the SET statement away from the top of a data step into a loop. The approach is acquiring the title DoW loop.
Here it is most helpful[pre] data reduced( keep= L_name comment compress=yes ) ;
length comment $2000 ; * surely enough, but can be wider ;
do until( last.L_name ) ;
set full_data_set( rename=( comment= oneComment )) ;
by L_name ;
comment= trimn( comment ) !! oneComment ;
end ;
run ; [/pre]The merit of DoW looping is brief code using the nature of the data step to help solve the problem.
See Paul Dorfman's 2009 paper on the topic at
http://support.sas.com/resources/papers/proceedings09/038-2009.pdf
I'm sure understanding and mastering the technique is an important stage in learning to program in a SAS System environment.
PeterC