DATA Step, Macro, Functions and more

FILENAME PIPE & X commands

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 11
Accepted Solution

FILENAME PIPE & X commands

I am attempting to use the FILENAME PIPE statement on SAS University Edition. Unable to do so.

 

ERROR: Insufficient authorization to access PIPE.
 
Similarly, on using X, get
 
ERROR: Shell escape is not valid in this SAS session.
 
I know this might be a little too basic, but not able to get past in the past few hours.

Accepted Solutions
Solution
‎12-07-2015 08:51 AM
Super User
Posts: 19,855

Re: FILENAME PIPE & X commands

SAS UE doesn't support PIPE and X commands, the VM is a locked down environment. A fair trade for the software.
PROC HTTP will work in UE, but not if you're trying to access a secure website.

I think there was a question on this under the SAS UE (Learning) Forum earlier this week.

View solution in original post


All Replies
Super User
Super User
Posts: 7,979

Re: FILENAME PIPE & X commands

Well, its one of two things, either you don't have access to the area your trying to work with either through incorrect syntax or permissions, or, more likely, SAS UE (which is a feature limited version of SAS) doesn't have this functionality.  

 

My question would be what are you trying to do, and why?  I don't see any reason you would need to be trying to use OS commands through what is essentially a learning tool, even advanced SAS use there are better methds and processes for such tasks.

Occasional Contributor
Posts: 11

Re: FILENAME PIPE & X commands

What I'm attempting to do is to read a web page & extract data from that dynamically. Now trying to do that with FILENAME URL & FILENAME SOCKET. You're free/requested/welcome to advise me which is a more effective method.

 

Also, one of the things I wanted to ask was if SAS UE did provide these features (as I'm presently using the same to build a pilot on something). Thanks anyways.

Solution
‎12-07-2015 08:51 AM
Super User
Posts: 19,855

Re: FILENAME PIPE & X commands

SAS UE doesn't support PIPE and X commands, the VM is a locked down environment. A fair trade for the software.
PROC HTTP will work in UE, but not if you're trying to access a secure website.

I think there was a question on this under the SAS UE (Learning) Forum earlier this week.
Super User
Posts: 5,435

Re: FILENAME PIPE & X commands

Cab you from inside the VM OS Web browser access that URL?
Also, -noxcmd option could be the default setting.
Data never sleeps
Community Manager
Posts: 2,955

Re: FILENAME PIPE & X commands

This was answered in this related thread.  In short: SAS University Edition doesn't allow you to modify config-level options like LOCKDOWN, but PROC HTTP is enabled.

🔒 This topic is solved and locked.

Need further help from the community? Please ask a new question.

Discussion stats
  • 5 replies
  • 841 views
  • 0 likes
  • 5 in conversation