Hello Everyone.
I'm using Viya through a Virtual Environment and a VPN , when i try this code :
caslib myCas datasource=(srctype="path") path="MyPath" sessref=mySession subdirs;
libname myCas casI get this Error:
ERROR: The path specified for caslib MYCASLIB is not an absolute path: MyPath.
ERROR: The action stopped due to errors.Any Suggestion or Solution Would be Much Appreciated , Thank you.
CAS runs on UNIX; an absolute path in UNIX needs to start with a forward slash.
Is mypath intended to be a macro variable? If yes, you forgot the &: &mypath.
Thank you for the response , even though that didn't solved my problem , it was very useful , that allowed me to learn , thank you again.
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 lock in 2025 pricing—just $495!
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.
Ready to level-up your skills? Choose your own adventure.