BookmarkSubscribeRSS Feed
deleted_user
Not applicable
The SAS Workspace Server invoked by EG is started with the -noxcmd option and therefore we cannot start excel from within EG. How can we change the option to -xcmd?

The server we are executing on is the Local server but as defined when connecting to a metadata repository and NOT the local EG repository.
1 REPLY 1
ChrisHemedinger
Community Manager
By default "XCMD" is disabled in SAS sessions launched via EG or other clients. To change this behavior, you need to specify -allowxcmd on the SAS command line in the Windows registry or the SAS command line that is specified to the SAS object spawner.

I'd advise contacting tech support for advice and exact steps, as allowing XCMD on a server should be done with caution.

Chris
SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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
  • 1 reply
  • 1689 views
  • 0 likes
  • 2 in conversation