-
Notifications
You must be signed in to change notification settings - Fork 9
Home
Welcome to my SAS macros sharing site! The best way to explore the macros available here is to search the site or review the categories.
The macros on this site were developed using SAS 9.1.3 and 9.2 on Windows. Many may work on non-Windows platforms. Before using any macro in production, please review the code, check for dependencies, and test the macro for compatibility within your system.
Feel free to contact me if you have any questions or feedback regarding these macros.
Documentation
- Arguments - The header of each macro contains a list of arguments and a short description of the argument. Additionally, most arguments are validated as required, specific values, or criteria specific to the macro.
- Documentation - Notes on some of the macros regarding the reasons behind the process.
- Headers - Each macro contains a standard header section with metadata, including author, creation date, purpose, revisions, and arguments.
- Feedback - Feel free to send me feedback, comments, questions, or even macro revisions!
Use Immediately
The following code will allow users to run a specified macro immediately in the current SAS session. The following examples use ObsMac. Replace "ObsMac" with the desired macro.
/* Download SiteMacros macro */
filename code url "http://goo.gl/j6QhS";
%include code / nosource;
filename code clear;
%SiteMacros(ObsMac);
To save a macro in an autocall library:
%SiteMacros(ObsMac, type=save, lib=macros);
Alternatively, to store a macro in a compiled macro catalog:
%SiteMacros(ObsMac, type=store, lib=macros);
SAS Global Forum 2012 Attendees
Please visit [this page](need link!) for more information about the following papers:
- An Advanced, Multi-Featured Macro Program for Reviewing Logs
- Standardized Macro Programs for Macro Variable Manipulation
Disclaimer: The SAS macros on this site are provided "as-is". The user is responsible for testing the code on their platform. The user agrees that the author will not, under any circumstances, be held accountable for any damages of any type that result from using these macros. Please review the license.
Disclaimer: The SAS macros on this site are provided "as-is". The user is responsible for testing the code on their platform. The user agrees that the author will not, under any circumstances, be held accountable for any damages of any type that result from using these macros. Please review the license provided with the programs.
- Home
- Categories
- Documentation
- Send Feedback [External]
- Christopher A. Swenson
- About & Contact [External]
- Professional Samples [External]
- Resume [External]
- References [External]
- Blog [External]