Return to Snippet

Revision: 52839
at November 2, 2011 20:57 by rambles


Initial Code
data _null_;
  length ret $3 new_dir $50;
  new_dir = "folder_name";
  ret = dcreate(new_dir,"&out");
  if ret="" and not fileexist(cats("&out",new_dir)) then put "ERROR: New directory for output was not created.";
run;

Initial URL

                                

Initial Description

                                

Initial Title
Create new folder with simple checks

Initial Tags

                                

Initial Language
SAS