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

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 21 replies
  • 2552 views
  • 0 likes
  • 7 in conversation