Normally, turning a long data set into a wide data set is not a good practice. I would recommend you leave your data set in the long format for most purposes, as almost all SAS PROCs are designed to work on the long data set.
So, why do you want a wide data set? Please explain clearly
If you want an output report in the wide format, then please state that clearly; again a long data set can be used to create a wide report.
--
Paige Miller