what is msglevel funtion ?
Google:
site:support.sas.com 9.4 msglevel
If @Patrick's suggestion works for you, why not mark it as the solution?
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.