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 cas
I 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.
Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.
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.