As the first step in the decommissioning of sasCommunity.org the site has been converted to read-only mode.


Here are some tips for How to share your SAS knowledge with your professional network.


Difference between revisions of "SAS® Macro Programming Tips and Techniques"

From sasCommunity
Jump to: navigation, search
(created page for a paper that didn't have a sasCommunity article yet)
 
(Online materials: switch File: to Media: for direct wikilink)
 
Line 13: Line 13:
  
 
== Online materials ==
 
== Online materials ==
* [[File:SAS® Macro Programming Tips and Techniques.pdf]]
+
* [[Media:SAS® Macro Programming Tips and Techniques.pdf|Download the .pdf of this paper]]
 
* [http://analytics.ncsu.edu/sesug/2008/HOW-064.pdf SESUG 2008 version]
 
* [http://analytics.ncsu.edu/sesug/2008/HOW-064.pdf SESUG 2008 version]
  

Latest revision as of 09:55, 28 September 2017

Kirk Paul Lafler

Software Intelligence Corporation

Spring Valley, California

Abstract

The SAS® Macro Language is a powerful tool for extending the capabilities of the SAS System. This hands-on workshop presents numerous tips and tricks related to the construction of effective macros through the demonstration of a collection of proven Macro Language coding techniques. Attendees learn how to process statements containing macros; replace text strings with macro variables; generate SAS code using macros; manipulate macro variable values with macro functions; handle global and local variables; construct arithmetic and logical expressions; interface the macro language with the DATA step and SQL procedure; store and reuse macros; troubleshoot and debug macros; and develop efficient and portable macro language code.

Online materials