BookmarkSubscribeRSS Feed
Ksharp
Super User

If you have SAS9.4 , also check function FCOPY() .

WilBeach
Calcite | Level 5

Would FCOPY() resolve the "Access Denied" issue?

Ksharp
Super User

NO. That OS Admin 's thing .

WilBeach
Calcite | Level 5

I am set up as an Administrator by I don't know what to change. We are a small company where the IT Tech did the install and we are on our own after that.

ArthurWilliams
Fluorite | Level 6

Look in the SASV9*.cfg files for -noxwait and -noxcmd or sas*.bat files (in Windows) and sas*.sh (on Linux or Unix).  if the -noxcmd is changed to -xcmd then the system will allow system command.

ArthurWilliams
Fluorite | Level 6

If your SAS Enterprise Guide session is connected to the local host (PC SAS) you would have permissions to use system command. With server installations of SAS system commands are usually disabled for the users.

You may want to look at this blog as an alternative <http://blogs.sas.com/content/sasdummy/2013/09/17/copy-file-macro/>

jakarman
Barite | Level 11

1/ The x cmd usage will return a message that a command had been fired to the OS. It tells nothing about the correctness of the command execution. The pipe command will give more info.   
2/ Running that on a local SAS system there is no xcmd blocking setting as it is your machine on your credentials.  On a server there is commonly that xcmd being blocked as it not your machine and the IT guy. that one not there, is dictating what you can do. That is the default sas configuration setting.  (scripted - metadata).

3/ running local with drive letters is completely different to running on server (other machine other context) all namings will be different whn they are possible.

Do you have all tree of these to overcome?  

---->-- ja karman --<-----

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!

Submit your idea!

SAS Enterprise Guide vs. SAS Studio

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.

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
  • 21 replies
  • 2246 views
  • 0 likes
  • 7 in conversation