Macros for SAS Application Developers
https://github.com/sasjs/core
Loading...
Searching...
No Matches
mv_createfolder.test.sas
Go to the documentation of this file.
1/**
2 @file
3 @brief Testing mv_createfolder macro
4
5 <h4> SAS Macros </h4>
6 @li mf_uid.sas
7 @li mp_assert.sas
8 @li mv_createfolder.sas
9 @li mv_deleteviyafolder.sas
10 @li mv_getfoldermembers.sas
11
12**/
13
14
15%let folder=%mf_uid();
16
17/* create a folder */
18%mv_createfolder(path=&mcTestAppLoc/temp/&folder/&folder)
19
20%mv_getfoldermembers(root=&mcTestAppLoc/temp/&folder, outds=work.folders)
21
22%let test=0;
23data _null_;
24 set work.folders;
25 putlog (_all_)(=);
26 if name="&folder" then call symputx('test',1);
27run;
28
29%mp_assert(
30 iftrue=(&test=1),
31 desc=Check if temp folder can be successfully created
32)