%let folder_name = 'foldeCBA'; %let path = '/home/u47498320/SAS Projects/folder1'; data null; new=dcreate(&folder_name, &path); run;
I am trying to run this code in SAS Viya, it has no errors/ warnings but did not manage to create a new folder named foldeCBA. This works fine in SAS Studio. I suspect its due to how the data are stored/ location in SAS Viya. Any ideas on this?
msg=ERROR: Physical file does not exist, /home/u47498320/SAS Projects/folder1
My SAS version is V.03.05M0P11112019 and I got this message. I was wondering how could I check and go into the correct file path in SAS Viya so that I could create the folder?
I am still unable to resolve finding the correct folder path. However, I have decided to go with Macro Core library and it works fine for my problem.
filename mc url "https://raw.githubusercontent.com/sasjs/core/main/all.sas"; %inc mc; %mv_createfolder(path=/Users/ch/My Folder/TestFolder)