I used a Data step to import the cvs file.
Attached is my Proc Contents in a word document.
With the data you presented, the code WORKS, period. So it has to be in the data. Get to really know your data, inside out.
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.