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! 😉

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 1289 views
  • 0 likes
  • 4 in conversation