/Users at the start of your path lets me suspect MacOS. SAS does not run on this system.
If you use a Mac with SAS Studio, you have to upload the file first and use the path on the SAS server.
The files have been uploaded to SAS studio. I am still having trouble reading them. And I am on a Windows 11 machine but working in Viya in the cloud.
Make sure that you use exact spelling for file and path names. Are you sure (e.g.) it is "Users" and not "users"?
UNIX (and therefore Linux) is case sensitive.
Right-click on the file in the SAS Studio navigation window and copy the path from there.
I doubt that the 2021 sheet is in the 2018 workbook.
When the FILENAME pointing to the file service works, then I doubt that you can create a LIBNAME, as you need a physical path in the operating system's file system for that, which the Viya file service does not provide.
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!
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.