This example shows how to use values of a variable (ID) to name transposed variables even when the ID variable has duplicate values.
For observations with identical BY-variable values, EQUALS maintains the order from the input data set in the output data set. NOEQUALS does not necessarily preserve this order in the output data set.