Macros for SAS Application Developers
https://github.com/sasjs/core
mp_coretable.test.sas
Go to the documentation of this file.
1 /**
2  @file
3  @brief Testing mp_coretable.sas macro
4 
5  <h4> SAS Macros </h4>
6  @li mf_existds.sas
7  @li mp_coretable.sas
8  @li mp_assert.sas
9 
10 **/
11 
12 
13 %mp_coretable(LOCKTABLE,libds=work.lock)
14 %mp_assert(
15  iftrue=(%mf_existds(work.lock)=1),
16  desc=Lock table created,
17  outds=work.test_results
18 )
19 %mp_coretable(LOCKTABLE)
20 %mp_assert(
21  iftrue=("&syscc"="0"),
22  desc=DDL export ran without errors,
23  outds=work.test_results
24 )
25 
26 %mp_coretable(FILTER_SUMMARY,libds=work.sum)
27 %mp_assert(
28  iftrue=(%mf_existds(work.sum)=1),
29  desc=Filter summary table created,
30  outds=work.test_results
31 )