Macros for SAS Application Developers
https://github.com/sasjs/core
Loading...
Searching...
No Matches
mf_isblank.sas
Go to the documentation of this file.
1/**
2 @file mf_isblank.sas
3 @brief Checks whether a macro variable is empty (blank)
4 @details Simply performs:
5
6 %sysevalf(%superq(param)=,boolean)
7
8 Usage:
9
10 %put %mf_isblank(&var);
11
12 inspiration:
13 https://support.sas.com/resources/papers/proceedings09/022-2009.pdf
14
15 @param [in] Param VALUE to be checked
16
17 @return output returns 1 (if blank) else 0
18
19 @version 9.2
20**/
21
22%macro mf_isblank(param
23)/*/STORE SOURCE*/;
24
25 %sysevalf(%superq(param)=,boolean)
26
27%mend mf_isblank;