Identify words in a list supplied as macro parameter.
If no word is found, display a message.
For your first question, here's a link that may help:
http://blogs.sas.com/content/publishing/2015/01/30/sas-authors-tip-getting-the-macro-language-to-per...
For your second question, that's really something you ought to try to do yourself before asking for help.
Navigate AI governance with SAS tools for compliance and ethical AI practices. Try SAS Ai Navigator for free for the first six months.
Check it out on Microsoft Marketplace →
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.
Browse our catalog!