I acquired a piece of code and I am getting an error I have not been able to solve
It has a libname statement like this.
libname test 'C:\test';
I have checked that the directory C:\test exists and I have RW access
When I try to write to this library for example
data test.new;
a=1;
run;I get the error
ERROR: Write access to member TEST.NEW.DATA is denied.
Any help would be appreciated
SAS obeys OS permissions. Where is your SAS running? Locally on your PC or remotely on a server.
Post the error messages you get from the log.
If you're using EG or SAS UE it cannot see your C drive and you need to use a mapped drive in UE. In EG you would need to talk to your administrator.
SAS obeys OS permissions. Where is your SAS running? Locally on your PC or remotely on a server.
Locally on PC
It does seem there is some R/W issue at work here. I thought testing that I could create a subfolder was enough. I am going to mark this solved. Thank you
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 save with the early bird rate—just $795!
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.