|
Macros for SAS Application Developers
https://github.com/sasjs/core |
Checks if a set of macro variables exist AND contain values. More...
Go to the source code of this file.
Reports a failure in the log and returns 0. It never aborts: an mf_ macro returns a value, and ending the step here would leave the caller unable to see that value or to report the failure itself. Usage:
%let var1=x; %let var2=y; %put %mf_verifymacvars(var1 var2);
Returns:
1
| [in] | verifyvars | Space separated list of macro variable names |
| [in] | makeupcase= | (NO) Set to YES to convert all variable VALUES to uppercase. |
| [in] | mAbort= | (SOFT) Retained for backwards compatibility. The macro no longer aborts on any value - a failure is written to the log and 0 is returned, so the caller decides what to do with it. |
Definition in file mf_verifymacvars.sas.