Macros for SAS Application Developers
https://github.com/sasjs/core
mf_fmtdttm.test.sas
Go to the documentation of this file.
1 /**
2  @file
3  @brief Testing mf_fmtdttm macro
4 
5  <h4> SAS Macros </h4>
6  @li mf_fmtdttm.sas
7  @li mp_assert.sas
8  @li mp_assertscope.sas
9 
10 **/
11 
12 %global test1;
13 
14 %mp_assertscope(SNAPSHOT)
15 %let test1=%mf_fmtdttm();
16 %mp_assertscope(COMPARE,ignorelist=test1)
17 
18 %mp_assert(
19  iftrue=("&test1"="DATETIME19.3" or "&test1"="E8601DT26.6"),
20  desc=Basic test,
21  outds=work.test_results
22 )