Can you be a little more specific in your requirements?
For example, why is Keyid=2 left out of the output data but Keyid=4 is in there?
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.