I need to mount a certain folder located on a windows share folder on my Home Folder on SAS Studio using a %sysexec or call system command.
I tried using this one but it says ERROR: Shell escape is not valid in this SAS session.
data _null_;
call system ('mount -t cifs <folder to mount> <mount location> -o username=user,password=pwd');
run;
There are two possibilities here:
1. You're running in SAS University Edition in which case you can't mount a folder like that; or
2. The noxcmd option is set on your system (possibly by an administrator http://support.sas.com/documentation/cdl/en/hostwin/69955/HTML/default/viewer.htm#p0xtd57b40ehdfn1jy...
If it's 2 above you may need to get your system administrator to fix it.
In addition to @ChrisBrooks:
3. you might need to have superuser/administrator rights to use mount on the UNIX system, or a sudo enabled for it.
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.