<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic how to run shell command through SAS DI jobs ? in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/how-to-run-shell-command-through-SAS-DI-jobs/m-p/327360#M7167</link>
    <description>&lt;P&gt;HI all ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to run shell in SAS DI job but it is giving below error :-&lt;/P&gt;&lt;PRE&gt;ERROR: Shell escape is not valid in this SAS session.&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried this workaround mentioned in &lt;A href="http://support.sas.com/kb/41/058.html" target="_blank"&gt;http://support.sas.com/kb/41/058.html&lt;/A&gt; and &amp;nbsp;took restart also.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please guide me how to run shell command in SAS DI job .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thank in advance.&lt;/P&gt;</description>
    <pubDate>Wed, 25 Jan 2017 12:39:41 GMT</pubDate>
    <dc:creator>MG18</dc:creator>
    <dc:date>2017-01-25T12:39:41Z</dc:date>
    <item>
      <title>how to run shell command through SAS DI jobs ?</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/how-to-run-shell-command-through-SAS-DI-jobs/m-p/327360#M7167</link>
      <description>&lt;P&gt;HI all ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to run shell in SAS DI job but it is giving below error :-&lt;/P&gt;&lt;PRE&gt;ERROR: Shell escape is not valid in this SAS session.&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried this workaround mentioned in &lt;A href="http://support.sas.com/kb/41/058.html" target="_blank"&gt;http://support.sas.com/kb/41/058.html&lt;/A&gt; and &amp;nbsp;took restart also.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please guide me how to run shell command in SAS DI job .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thank in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2017 12:39:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/how-to-run-shell-command-through-SAS-DI-jobs/m-p/327360#M7167</guid>
      <dc:creator>MG18</dc:creator>
      <dc:date>2017-01-25T12:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: how to run shell command through SAS DI jobs ?</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/how-to-run-shell-command-through-SAS-DI-jobs/m-p/327365#M7168</link>
      <description>&lt;P&gt;Doesn't DI Studio use the Data Step Batch Server for running its jobs? So you might have to look in another place to change the configuration (the sasbatch.sh file)&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2017 12:49:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/how-to-run-shell-command-through-SAS-DI-jobs/m-p/327365#M7168</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-01-25T12:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: how to run shell command through SAS DI jobs ?</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/how-to-run-shell-command-through-SAS-DI-jobs/m-p/327369#M7169</link>
      <description>&lt;P&gt;Well, yes, the deployed&amp;nbsp;jobs from DI Studio is usually executed from the Data Step Batch Server.&lt;/P&gt;
&lt;P&gt;But the interactive&amp;nbsp;DI Studio sessions uses the standard Workspace Server.&lt;/P&gt;
&lt;P&gt;If you think that you followed the&amp;nbsp;steps in note, and still have the problem, contact tech support that should be able to walk you through the steps in detail.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2017 13:07:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/how-to-run-shell-command-through-SAS-DI-jobs/m-p/327369#M7169</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-01-25T13:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to run shell command through SAS DI jobs ?</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/how-to-run-shell-command-through-SAS-DI-jobs/m-p/327377#M7173</link>
      <description>You have to enable sasbatch to run xcmd&lt;BR /&gt;&lt;BR /&gt;Check the sasbatch.sh file you should have a line like the following:&lt;BR /&gt;&lt;BR /&gt;"$SAS_COMMAND" -noxcmd -lrecl 32767 "$@" "${USERMODS_OPTIONS[@]}"&lt;BR /&gt;&lt;BR /&gt;Change the "-noxcmd" option for "-xcmd" and it should work&lt;BR /&gt;&lt;BR /&gt;Sorry about my english</description>
      <pubDate>Wed, 25 Jan 2017 13:48:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/how-to-run-shell-command-through-SAS-DI-jobs/m-p/327377#M7173</guid>
      <dc:creator>nicocba</dc:creator>
      <dc:date>2017-01-25T13:48:51Z</dc:date>
    </item>
  </channel>
</rss>

