Do you use programs containing ampersands and percent signs? If so, you are using SAS macros. The macro facility allows you to perform text substitution using macro variables and macro programs. Macros make life easier for the programmer by automating and customizing the generation of SAS code. In this SAS tutorial, John will demonstrate a basic understanding of the macro facility by starting with a review of the %LET statement, CALL SYMPUTX routine, INTO clause, macro conditional and iterative processing statements and macro program syntax. He will also discuss double periods, multiple ampersands, macro quoting and the macro IN operator. He’ll wrap up with examples of I/O functions, dictionary tables, the DOSUBL function and branching within a macro program.
Content Outline
0:00:28 – Macro Basics: The Straightforward Basics
0:40:45 – Demo: Macro Basics, The Straightforward Basics
1:23:00 – Macro Basics: The Not So Straightforward Basics
1:58:00 – Doing More with Macro
2:25:00 – Demo: Doing More with Macro
2:37:00 – Closing Remarks
Learn more about SAS Software
Macros Tip: %INCLUDE vs. Macro Language blog - https://blogs.sas.com/content/sastraining/2015/07/07/macros-tip-include-vs-macro-language/
Free SAS Online Training – https://www.sas.com/en_us/training/offers/free-training.geo.html?utm_source=youtube.com&utm_medium=referral&utm_campaign=sgf-4406690&utm_content=P1LZ2_sjvtc
Contact SAS® – https://www.sas.com/en_us/contact.geo.html?utm_source=youtube.com&utm_medium=referral&utm_campaign=sgf-4406690&utm_content=P1LZ2_sjvtc
SUBSCRIBE TO THE SAS USERS YOUTUBE CHANNEL #SASUsers #LearnSAS #SASGF
https://www.youtube.com/SASUsers?sub_confirmation=1
ABOUT SAS
SAS is a trusted analytics powerhouse for organizations seeking immediate value from their data. A deep bench of analytics solutions and broad industry knowledge keep our customers coming back and feeling confident. With SAS®, you can discover insights from your data and make sense of it all. Identify what’s working and fix what isn’t. Make more intelligent decisions. And drive relevant change.
CONNECT WITH SAS
SAS ► https://www.sas.com/contact
SAS Customer Support ► https://support.sas.com
SAS Communities ► https://communities.sas.com
SAS Analytics Explorers ► https://explorers.sas.com
Facebook ► https://www.facebook.com/SASsoftware
Twitter ► https://www.twitter.com/SASsoftware
LinkedIn ► https://www.linkedin.com/company/sas
Blogs ► https://blogs.sas.com
RSS ►https://www.sas.com/rss