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 @sasjslint {"noUnusedMacros": false}
10**/
11
12proc sql;
13create table test as select * from dictionary.tables where libname='SASHELP';
14
15filename inc temp;
16data _null_;
17 set work.test;
18 file inc;
19 libds=cats('sashelp.',memname);
20 if exist(libds) then line=cats('%mp_ds2fmtds(',libds,',',memname,')');
21 put line;
22run;
23
24options obs=50;
25%inc inc;
26
27%mp_assert(
28 iftrue=(&syscc=0),
29 desc=Checking tables were created successfully,
30 outds=work.test_results
31)