Do you use the dcreate() function, or an external command?
If the latter, use the filename pipe method to reveal what the operating system does:
filename oscmd pipe "mkdir ...... 2>&1";
data _null_;
infile oscmd;
input;
put _infile_;
run;
Either way, please post the log, using the {i} button.
... View more