Production Ready Macros for SAS Application Developers
https://github.com/sasjs/core
mp_getddl.test.sas
Go to the documentation of this file.
1/**
2 @file
3 @brief Testing mp_getddl.sas macro
4
5 <h4> SAS Macros </h4>
6 @li mp_getddl.sas
7 @li mp_assert.sas
8
9**/
10
11data test(index=(pk=(x y)/unique /nomiss));
12 x=1;
13 y='blah';
14 label x='blah';
15run;
16proc sql; describe table &syslast;
17%mp_getddl(work,test,flavour=tsql,showlog=YES)
18
19%mp_assert(
20 iftrue=(&syscc=0),
21 desc=mp_getddl runs without errors,
22 outds=work.test_results
23)