Macros for SAS Application Developers
https://github.com/sasjs/core
Loading...
Searching...
No Matches
mf_verifymacvars.test.sas
Go to the documentation of this file.
1/**
2 @file
3 @brief Testing mf_verifymacvars macro
4
5 <h4> SAS Macros </h4>
6 @li mf_verifymacvars.sas
7 @li mp_assert.sas
8 @li mp_assertscope.sas
9
10**/
11
12%let var1=x;
13%let var2=y;
14
15%mp_assertscope(SNAPSHOT)
16%mp_assert(
17 iftrue=(%mf_verifymacvars(var1 var2)=1),
18 desc=Checking macvars exist,
19 outds=work.test_results
20)
21%mp_assertscope(COMPARE)
22