BookmarkSubscribeRSS Feed
raghuvenkata
Fluorite | Level 6

Hi,

I have enabled the x command on SAS server and i am seeing the following error when i run the statement.sas2.PNG

 

We have SAS running on windows 2012 server.

 

Raghu.

7 REPLIES 7
Reeza
Super User

Did you verify XCMD was enabled?

 

Try this:

	proc options option=XCMD;
	run;

What does the log show?

 


@raghuvenkata wrote:

Hi,

I have enabled the x command on SAS server and i am seeing the following error when i run the statement.sas2.PNG

 

We have SAS running on windows 2012 server.

 

Raghu.


 

raghuvenkata
Fluorite | Level 6

Thanks razza for the update. I have verified xcmd was enabled by running the below code. I am seeing this from the log.

 

GOPTIONS ACCESSIBLE;
26 proc options option=XCMD;
27 run;

SAS (r) Proprietary Software Release 9.4 TS1M5

NOXCMD Disables the X command in SAS.
NOTE: PROCEDURE OPTIONS used (Total process time):
real time 0.03 seconds
cpu time 0.00 seconds

 

sas3.PNG

Reeza
Super User
Yeah, it should be showing XCMD, not NOXCMD, when enabled so that's not set correctly. Perhaps you need to restart your server for that to take effect?
raghuvenkata
Fluorite | Level 6

okay. I need to restart the SAS services?

raghuvenkata
Fluorite | Level 6

okay Thank you Rezza for your help.

ballardw
Super User

There is no need to create an image of code or logs. Copy the text from the editor or log window and paste into a code box on the forum opened using the {I} icon.

 

For many issues we can suggest code changes easier if we don't have to retype your code from scratch.

 

 

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 7 replies
  • 2016 views
  • 4 likes
  • 3 in conversation