This SAS Note describes issues that might occur when you run a LIBNAME or FILENAME statement in SAS University Edition.
When you run a LIBNAME statement in SAS University Edition, you might see the following message:
NOTE: Library [name of library] does not exist.
This issue occurs if you incorrectly reference the shared folder location. Because SAS University Edition is provided on a Linux virtual machine, LIBNAME statements must follow the Linux guidelines for referencing a folder location. To learn the correct way to write a LIBNAME statement in SAS University Edition, visit this SAS University Edition: Help Center page.
When you run a stand-alone FILENAME statement in SAS University Edition, you might find that the code runs with no errors, even if the file path is incorrect. However, when the file reference defined in the associated FILENAME statement is used in another area of the program, errors similar to this one might appear:
ERROR: Physical file does not exist, /opt/sasinside/SASConfig/Lev1/SASApp/C:\SASUniversityEdition\myfolders\Cheatsheet.xlsx.
A FILENAME statement should be set up similarly to a LIBNAME statement. Use the LIBNAME information that is on the SAS University Edition: Help Center page (same page as above) to structure a FILENAME statement.
Here is another error that you might receive when attempting to access your data:
ERROR: The path /users/xxyyzz/Downloads/Cheatsheet.xlsx is invalid because it is not in the list of accessible paths when SAS is in the lockdown state.
If you see an error similar to this one, you might be referencing an improper folder in which to store your files. Review the instructions below to ensure that your shared folder is set up correctly.
Alternatively, if your folder is set up properly, the problem might be that you are not accessing the folder properly. To make sure that you are accessing the folder correctly, see the LIBNAME/FILENAME documentation SAS University Edition: Help Center page referenced above.
If you are unsure whether your shared folder is set up properly, or even set up at all, click here to access the Download SAS University Edition web page and then follow these steps:
When setting up your shared folder, ensure that the name matches the quick-start guide's naming convention. If your folder is named something else, SAS University Edition does not recognize the folder as the proper sharing location and will not list your folder in the Folder Shortcuts section to the left of SAS University Edition software.
For all other questions regarding LIBNAME statements, FILENAME statements, or SAS University Edition usage questions in general, visit our SAS Analytics U Community, which is available here.