05-21-2018 10:15 PM - edited 05-21-2018 10:16 PM
hello I'm fairly new and am trying to designate a libname but keep getting the error:
the path is copied from the file information and I can see the folder "SAS data" and the dataset I want within it in the side panel under "folder shortcuts" but don't know how to access it.
here is the code i am using thanks for any help!
LIBNAME LM '/Users/sana/Desktop/Spring II/LMS/SAS data/'; proc print LM.hw4q2; run;
05-22-2018 02:21 AM - edited 05-22-2018 02:24 AM
Can you rename your subfolders and replace all spaces (' ') into underscore ('_') ?
If possible do it and check does it fix the problem.
Are you using SAS University Edition ?
05-22-2018 05:08 AM
/Users points to a Mac, so I guess you are using SAS UE on that Mac. The ONLY folder you have access to in SAS UE is the shared folder you defined when setting up the virtual machine. You CANNOT access any host-system folders outside this shared folder.
Place your data in the Mac folder you defined as the shared folder, and use /folders/myfolder inside the UE VM.
All this supposes you set up your VM correctly according to the documentation, of course.
05-22-2018 11:23 AM
The ONLY folder you have access to in SAS UE is the shared folder you defined when setting up the virtual machine. You CANNOT access any host-system folders outside this shared folder.
You can set up multiple shared folders on SAS UE to anywhere on your desktop, including a DropBox or OneDrive folder.
Then you access it as:
where NAME is the name you provided in the set up in Oracle VirtualBox.
05-22-2018 11:50 AM
If you can see the path in the GUI file explorer tool in SAS/Studio then right click on it and select PROPERTIES and you will see that path that SAS can use to reference it.