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;
Parameters
[in]varThe macro variable NAME to return the (possible) value for
Version
9.2
Author
Allan Bowe

Definition in file mf_mval.sas.