Macros for SAS Application Developers
https://github.com/sasjs/core
Loading...
Searching...
No Matches
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 mf_existds.sas
7 @li mp_assert.sas
8 @li mp_dictionary.sas
9
10**/
11
12libname test (work);
13%mp_dictionary(lib=test)
14
15proc sql;
16create table work.compare1 as select * from test.styles;
17create table work.compare2 as select * from dictionary.styles;
18
19proc compare base=compare1 compare=compare2;
20run;
21%put _all_;
22
23%mp_assert(
24 iftrue=(%mf_existds(&sysinfo)=0),
25 desc=Compare was exact,
26 outds=work.test_results
27)