This example shows how to use values of a variable (ID) to name transposed variables even when the ID variable has duplicate values.
checks for and eliminates duplicate observations. If you specify this option, PROC SORT compares all variable values for each observation to those for the previous observation that was written to the ...