Show the code and state what your problem is.
When we ask for data in the form of a datastep, this doesn't mean take a picture of your screen which is of no help at all. Follow this post:
Once you have posted your test data, post your code - in a code window which is {i} above your post. Also post any other relevant information such as logs with errors/warnings, explanation of logic etc.
Only good quality questions will get good quality answers.
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.