I have trying to transform a dataset which is in raw format.
I need the data to be transposed.
The sequence and linenum in both the datasets is same.
Attaching the screenshots of the raw and requires transposed dataset.
Can you please post your data as datelines and post your code that you tried?
Your output implies that the Procmod value of ER is on a record with Sequence=10. But that is not the case in the data. Linenum is missing for that record. So, how are we supposed to know that Linenum=10 should be used in this case? Or any of the cases where Sequence is actually missing?
Hint: sequence numbers that are not actually numeric can be a bit difficult to work with at times.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.