BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
SAShole
Pyrite | Level 9

Hi SAS friends,

 

When I submit the code below

data Out.Test;
	set In.Test;
run;

I get this error message Write access to member Out.Test.DATA is denied

 

However I am able to copy and paste these datasets manually. Are there any other work arounds? I get the same error using proc copy.

 

EDIT: I'm running SAS EG 9.04  on UNIX

1 ACCEPTED SOLUTION

Accepted Solutions
Tom
Super User Tom
Super User

Did you define the OUT libref with the ACCESS=READONLY option?

View solution in original post

4 REPLIES 4
JBailey
Barite | Level 11

Hi @SAShole 

 

If you are running SAS via a workspace server, the "userid" running the job may not have permissions to the directory specified in the LIBNAME statement. 

 

Best wishes,
Jeff 

Kurt_Bremser
Super User

What operating system is SAS running on? "Overwriting" a file where you do not have write access is possible in UNIX when

  • you have write access to the directory
  • you remove the file first
Tom
Super User Tom
Super User

Did you define the OUT libref with the ACCESS=READONLY option?

SAShole
Pyrite | Level 9
Yes! and now I feel dumb!! Thanks ALOT TOM! 😉

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 2000 views
  • 0 likes
  • 4 in conversation