Enabling the X Commands

By default, the X commands are disabled.

Windows Environments

To enable the X commands in a Windows environment:
  1. In the Windows service, stop the SASStudioSpawner.
  2. As an administrator, open a command window and enter this command: sc delete “SASStudioSpawner”.
  3. Next, enter this command: “C:\Program Files\SASHome\SASFoundation\9.4\objspawn.exe” —configFile “C:\sas\studioconfig\spawner\spawner.cfg” —install —name SASStudioSpawner —servicedescription “SAS Studio Object Spawner” —logconfigloc “C:\sas\studio\config\spawner\logconfig.xml” —allowxcmd
    Note: These paths might be different at your site.
  4. In the Windows service, select Actionthen selectRefresh to refresh the list of services. SASStudioSpawner should be listed.
  5. Right-click SASStudioSpawner and select Start.
  6. Log on to SAS Studio to see whether the X commands are enabled.

UNIX Environments

To enable these commands in a UNIX environment, edit the spawner/spawner_usermods.sh file and specify the following command for the USERMODS variable:
USERMODS="$JREOPTIONS -allowxcmd"
For more information, see SAS Note 15179.