/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.
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
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.