SUPPORT / SAMPLES & SAS NOTES
 

Support

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

DetailsAboutRate It

When running X commands or SYSTASK commands from SAS Enterprise Guide connecting to a remote SAS 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).

  1. Expand Server Manager ► SASApp ► SASApp - Logical Workspace Server.
  2. Right-click on SASApp - Workspace Server and select Properties.
  3. Click the Options tab, and then click the Advanced Options button.
  4. Click the Launch Properties tab, and select Allow XCMD. Click OK until you have closed all open dialog boxes.
  5. To enable X commands to also be executed under the SAS Stored process server, follow the same steps above for the SASApp - Logical Stored Process Server ► SASApp - Stored Process Server.
  6. Exit SAS Management Console.
  7. From the Microsoft Windows desktop, click Start and then Services.
  8. Select Stop the Metadata Server and wait a few moments.
  9. Restart the servers as follows:
    • Start the Metadata Server.
    • Start the Object Spawner.
    • Start SAS Remote Services.
    • Start the SASTS - Table Server.

Now, X commands should work from SAS Enterprise Guide when submitted to your SAS Workspace Server and SAS Stored Process Servers.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Enterprise GuideMicrosoft® Windows® for x644.29.2 TS2M0
Microsoft Windows Server 2003 Datacenter Edition4.29.2 TS2M0
Microsoft Windows Server 2003 Enterprise Edition4.29.2 TS2M0
Microsoft Windows Server 2003 Standard Edition4.29.2 TS2M0
Microsoft Windows Server 2003 for x644.29.2 TS2M0
Microsoft Windows Server 2008 for x644.29.2 TS2M0
Microsoft Windows XP Professional4.29.2 TS2M0
Windows Vista4.29.2 TS2M0
Windows Vista for x644.29.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.