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

Returns a macro variable value if the variable exists. More...

Go to the source code of this file.

Detailed Description

Use this macro to avoid repetitive use of if symexist(MACVAR) then type logic.
Usage:

%if %mf_mval(maynotexist)=itdid %then %do;
Version
9.2
Author
Allan Bowe

Definition in file mf_mval.sas.