Special Requests
Chris Swenson edited this page Nov 14, 2020
·
3 revisions
These macro programs were developed from special requests or questions from the community.
-
ConditionCount
- Evaluate a condition using a data step and output one message if any records meet the condition. The message contains the number of observations that meet the condition. NOTE: Use mnemonics for operators such as = (i.e., EQ) as the macro processor will interpret it as a keyword argument instead of a condition.
-
File_or_Dir
- Determine whether an argument is a file or a directory. Outputs a macro variable that contains the type of argument (DIR, FILE, NA).
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]