Macros for SAS Application Developers
https://github.com/sasjs/core
Loading...
Searching...
No Matches
mp_ds2fmtds.test.sas
Go to the documentation of this file.
1/**
2 @file
3 @brief Testing mp_ds2fmtds.sas macro
4
5 <h4> SAS Macros </h4>
6 @li mp_ds2fmtds.sas
7 @li mp_assert.sas
8
9**/
10
11proc sql;
12create table test as select * from dictionary.tables where libname='SASHELP';
13
14filename inc temp;
15data _null_;
16 set work.test;
17 file inc;
18 libds=cats('sashelp.',memname);
19 if exist(libds) then line=cats('%mp_ds2fmtds(',libds,',',memname,')');
20 put line;
21run;
22
23options obs=50;
24%inc inc;
25
26%mp_assert(
27 iftrue=(&syscc=0),
28 desc=Checking tables were created successfully,
29 outds=work.test_results
30)