Problem Note 41058: Unable to submit X commands from SAS® Enterprise Guide® connecting to a SAS® Metadata Server when running SAS® 9.2 or later
When trying to run X commands or SYSTASK commands from SAS Enterprise Guide connecting to a remote SAS Metadata Server, you might see an error similar to the following when running SAS 9.2 or later:
ERROR: Shell escape is not valid in this SAS session.
By default, for security reasons, X commands are not allowed in this environment. This restriction prevents SAS Enterprise Guide users from running system-level commands on the SAS server.
If your site wants to allow users to run X commands from SAS Enterprise Guide, then your system administrator can perform the following tasks in SAS® Management Console 9.2 (or later).
- Expand Server Manager ► SASApp ► SASApp - Logical Workspace Server.
- Right-click on SASApp - Workspace Server and select Properties.
- Click the Options tab, and then click the Advanced Options button.
- Click the Launch Properties tab and select Allow XCMD. Click OK until you have closed all open dialog boxes.
- Exit SAS Management Console.
- From the Microsoft Windows desktop, click Start and then Services.
- Select Stop the Metadata Server and wait a few moments.
- Restart the servers as follows:
- Start the Metadata Server
- Start the Object Spawner
- Start the SAS Remote Services
- Start the SASTS - Table Server
Now, X commands should work from SAS Enterprise Guide. However, the commands will execute on the metadata server and not on your local PC.
If you are using SAS Enterprise Guide to connect to SAS on your local PC, contact SAS Technical Support.
Operating System and Release Information
| SAS System | SAS Enterprise Guide | Microsoft® Windows® for x64 | 4.2 | | 9.2 TS2M0 | |
| Microsoft Windows Server 2003 Datacenter Edition | 4.2 | | 9.2 TS2M0 | |
| Microsoft Windows Server 2003 Enterprise Edition | 4.2 | | 9.2 TS2M0 | |
| Microsoft Windows Server 2003 Standard Edition | 4.2 | | 9.2 TS2M0 | |
| Microsoft Windows Server 2003 for x64 | 4.2 | | 9.2 TS2M0 | |
| Microsoft Windows Server 2008 for x64 | 4.2 | | 9.2 TS2M0 | |
| Microsoft Windows XP Professional | 4.2 | | 9.2 TS2M0 | |
| Windows Vista | 4.2 | | 9.2 TS2M0 | |
| Windows Vista for x64 | 4.2 | | 9.2 TS2M0 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Problem Note |
| Priority: | high |
| Date Modified: | 2010-10-04 15:36:10 |
| Date Created: | 2010-09-28 14:38:40 |