| Category: | Special |
| Windows specifics: | command must be a valid Windows command |
| See: | CALL SYSTEM Routine in SAS Functions and CALL Routines: Reference |
options noxwait;
data _null_;
input flag $ name $8.;
if upcase(flag)='Y' then
do;
command='md c:\'||name;
call system(command);
end;
datalines;
Y mydir
Y junk2
N mydir2
Y xyz
;Y.