Macros for SAS Application Developers
https://github.com/sasjs/core
mf_isblank.sas File Reference

Checks whether a macro variable is empty (blank) More...

Go to the source code of this file.

Detailed Description

Simply performs:

%sysevalf(%superq(param)=,boolean)

Usage:

%put %mf_isblank(&var);

inspiration: https://support.sas.com/resources/papers/proceedings09/022-2009.pdf

Parameters
[in]ParamVALUE to be checked
Returns
output returns 1 (if blank) else 0
Version
9.2

Definition in file mf_isblank.sas.