26 %local xwait xsync xmin logfile;
27 %let xwait=%sysfunc(getoption(xwait));
28 %let xsync=%sysfunc(getoption(xsync));
29 %let xmin =%sysfunc(getoption(xmin));
31 options noxwait xsync xmin;
33 %let logfile=%sysfunc(pathname(work))\___mkdir.txt;
34 %SYSEXEC(md
"&dir" >
"&logfile" 2>&1);
36 %
if &g_verbose. %then %
do;
37 %put ======== OS Command Start ========;
40 %
if &sysrc. = 0 %then %put &g_note.(SASUNIT): Sysrc : 0 -> SYSEXEC SUCCESSFUL;
41 %
else %put &g_error.(SASUNIT): Sysrc : &sysrc -> An Error occured;
44 %put &g_note.(SASUNIT): SYSEXEC COMMAND IS: md
"&dir" >
"&logfile";
48 infile
"&logfile" truncover lrecl=512;
52 %put ======== OS Command End ========;
55 options &xwait &xsync &xmin;