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

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

SAS Tutorial: Statement Style Macros

From sasCommunity
Jump to: navigation, search


The SAS 82 MACRO facility can be used to define and add new statements to the SAS language. This tutorial will illustrate, by example, techniques for designing, testing and implementing statement style macros. A statement style macro is a macro whose call looks like a SAS statement. The call begins with a keyword, which is the macro name, and ends with a semicolon. The parameters follow the keyword and are separated by blanks. Particular emphasis will be given to techniques which allow the macro program to verify syntax before passing control to the SAS compiler.

Online Materials

View the pdf for SAS Tutorial: Statement Style Macros.

Contact Info

Please check out my user page. You can also email me.