Setting X Command Options to Run Perl or Shell Scripts

If you intend to include UNIX scripts in your SAS Data Integration Studio jobs, you need to configure the SAS Workspace Server or batch server that runs the job. Specifically, in the server invocation statement, set the option -allowxcmd or -nonoxcmd to enable the server to execute operating system commands.
In your job or SAS program, set the option -noxwait to ensure that the program ends normally.
Another course of action is to select the Allow XCMD check box in the server's Advanced Options window. In the server properties window, select Optionsthen selectAdvanced Options. Then click the Launch Properties tab.