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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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