18%let root=%sysfunc(pathname(work))/top;
25data
"&root/a/e/f/ds1.sas7bdat";x=1;
26data
"&root/a/e/ds2.sas7bdat";x=1;
27data
"&root/a/ds3.sas7bdat";x=1;
30%mp_dirlist(path=&root, outds=myTable, maxdepth=MAX)
33 iftrue=(%mf_nobs(work.mytable)=8),
34 desc=Temp data successfully created,
35 outds=work.test_results
41%let newfolder=%sysfunc(pathname(work))/
new;
42%mp_copyfolder(&root,&newfolder)
44%mp_dirlist(path=&newfolder, outds=work.myTable2, maxdepth=MAX)
47 iftrue=(%mf_nobs(work.mytable2)=8),
48 desc=Folder successfully copied,
49 outds=work.test_results