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;
Did you see this?
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 ?
/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.
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:
'/folders/myshortcuts/NAME'
where NAME is the name you provided in the set up in Oracle VirtualBox.
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.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.