09-05-2014 02:18 AM
I'm using SAS University Edition with Oracle VirtualBox. Also, I'm using a Mac computer and chrome browser.
Although I defined my SAS folder in VirtualBox as instructed (picture attached), I get the following message when I try to read a file into SAS:
"The path ... is invalid because it is not in the list of accessible paths when SAS is in the lockdown state."
This is my code:
I also tried the following paths just in case I'm missing something:
I found a few threads discussing this issue but they all concluded that the shared folder was not defined properly. Based on the picture attached, I don't think that's my issue, but I may be wrong.
Any Suggestions? Thanks!
When I tried to define a shortcut I also received this message:
09-05-2014 02:41 AM
you have been caught by the confusion a MAC is using similar naming as the Linux VM. You must use the names as Linux knows not the ones of MAC.
Review the properties in the running SAS session on a file folder on that side. It looks like:
I do not see /folders/myfolders in your attemtps
09-05-2014 03:17 AM
You are sure the file "my_file.sas7bdat" is in that location (check it in the files/libraries pane left side)
When it is not here you will get not the message it cannot find the file.
It will try something in current directory. The current directory is not your home directory (somebody gone mad at SAS). That one that is current is locked down and expect a message of that kind..
09-05-2014 03:23 AM
The file is definitely there - in the folder called myfolder (on my laptop). In SAS, when I look at Folders -> My Folders I can only see "sasuser.v94".
Where is my current directory then? I just installed SAS and this is the first file I'm trying to read. So everything should be still set as default.
09-05-2014 03:51 AM
The error message of SAS is explained, the file is not there as far as SAS sees.
you did look at the MAC in /Users/SaraBeiggi/SAS/MyFolders/" ? The name as the VM window tells it has made the connection.
and there is a folder sasuser.v94 visible in that one? If not your MAC and VM are not in accordance of the joined location. you
If your intention was only to create a dataset ...
set sashelp.class ;
Put in myfolders?
libname mysara "/folders/myfolders"; /* defines the location as library */
set sashelp.class ;
proceed with your sas exploration....
09-05-2014 12:40 PM
If I'm understanding correctly you are saying that VM is properly communicating with my Mac because it shows sasuser.v94 but it doesn't see my_file.sas7bdat.
If that's the case, what is the problem? The file is under MyFolders in my Finder.
And thanks for the tips on sashelp databases, but I need to import sas and excel files into SAS for analysis.
I really appreciate your help.
09-05-2014 01:30 PM
I gave the sashelp databases a reference as they are known to SAS. Just for checking SAS running correctly.
I understand you want to import data in the MAC last screen we should see the sasuser.v94 in the sas environment we should my_file.sas7bdat.
This not the case conclusion: The expected connection /Users/SaraBeiggi/SAS/MyFolders/ MyFolders (Virtual Box) is not working or not as your last screen you are looking in.
You could try to find sasuser.v94 on the MAC
09-05-2014 04:20 PM
I searched but couldn't find sasuser.v94 anywhere on my Mac.
As you can see on the screenshot, I uploaded before, it is not seen on any of SAS subfolders on Finder window either.
How can I make the virtual box see my SAS folder? I thought since I shared it under settings -> shared folder of the virtual box it should be seen by the virtual box.
09-05-2014 05:07 PM
I finally called SAS support and they solved the issue. I had to change the name of my folder from SAS to SASUniversityEdition and use path /folders/myfolders and that solved the problem.
Thank you very much Jaap for all your time and your help.