SASUnit Examples  Version 1.2.1
_sasunit_mkdir.sas
Go to the documentation of this file.
1 
22 /* change history
23  05.09.2008 NA Anpassung an Linux
24 */
25 
26 %macro _sasunit_mkdir(dir);
27 
28 %if &sysscp. = WIN %then %do;
29  %local xwait xsync xmin;
30  %let xwait=%sysfunc(getoption(xwait));
31  %let xsync=%sysfunc(getoption(xsync));
32  %let xmin =%sysfunc(getoption(xmin));
33 
34  options noxwait xsync xmin;
35 
36  %SYSEXEC(md "&dir");
37 
38  options &xwait &xsync &xmin;
39 %end;
40 %else %if &sysscp. = LINUX %then %do;
41  %SYSEXEC(mkdir &dir.);
42 %end;
43 
44 %mend _sasunit_mkdir;
45