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.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.