/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.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!
Get started using SAS Studio to write, run and debug your SAS programs.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.