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.
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!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.