Macros for SAS Application Developers
https://github.com/sasjs/core
mp_dictionary.test.sas
Go to the documentation of this file.
1 /**
2  @file
3  @brief Testing mp_dictionary.sas macro
4 
5  <h4> SAS Macros </h4>
6  @li mp_dictionary.sas
7  @li mp_assert.sas
8 
9 **/
10 
11 libname test (work);
12 %mp_dictionary(lib=test)
13 
14 proc sql;
15 create table work.compare1 as select * from test.styles;
16 create table work.compare2 as select * from dictionary.styles;
17 
18 proc compare base=compare1 compare=compare2;
19 run;
20 %put _all_;
21 
22 %mp_assert(
23  iftrue=(%mf_existds(&sysinfo)=0),
24  desc=Compare was exact,
25  outds=work.test_results
26 )