SASUnit Examples  Version 1.3.0
linux/_copydir.sas
Go to the documentation of this file.
1 
24 %macro _copyDir (i_from
25  ,i_to
26  );
27 
28  %LOCAL l_i_from l_i_to;
29 
30  %let l_i_from = %qsysfunc(tranwrd(&i_from, %str( ), %str(\ )));
31  %let l_i_to = %qsysfunc(tranwrd(&i_to, %str( ), %str(\ )));
32 
33  %SYSEXEC(cp -R &l_i_from. &l_i_to.);
34 
35  %put &g_note.(SASUNIT): sysrc=&sysrc;
36 %mend _copyDir;