<?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 Re: ERROR: Shell escape is not valid in this SAS session in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-Shell-escape-is-not-valid-in-this-SAS-session/m-p/343234#M8040</link>
    <description>&lt;P&gt;Instead of editing the sasbatch.sh file, you should add the -xcmd in the USERMODS_OPTIONS environment variable in sasbatch_usermods.sh.&lt;/P&gt;
&lt;P&gt;sasbatch.sh may be overwritten by updates or hotfixes, the *_usermods* files will not be changed.&lt;/P&gt;</description>
    <pubDate>Wed, 22 Mar 2017 11:48:12 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2017-03-22T11:48:12Z</dc:date>
    <item>
      <title>ERROR: Shell escape is not valid in this SAS session</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-Shell-escape-is-not-valid-in-this-SAS-session/m-p/343218#M8037</link>
      <description>&lt;P&gt;When I schedule sas prog via sas amangement console as sassrv user . its throwing below error. I alredy made the below changes in smc &lt;STRONG&gt;Allow XCMD&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Expand &lt;STRONG&gt;Server Manager ► SASApp ► SASApp - Logical Workspace Server&lt;/STRONG&gt;.&lt;/LI&gt;&lt;LI&gt;Right-click on &lt;STRONG&gt;SASApp - Workspace Server&lt;/STRONG&gt; and select &lt;STRONG&gt;Properties&lt;/STRONG&gt;.&lt;/LI&gt;&lt;LI&gt;Click the &lt;STRONG&gt;Options&lt;/STRONG&gt; tab, and then click the &lt;STRONG&gt;Advanced Options&lt;/STRONG&gt; button.&lt;/LI&gt;&lt;LI&gt;Click the &lt;STRONG&gt;Launch Properties&lt;/STRONG&gt; tab, and select &lt;STRONG&gt;Allow XCMD&lt;/STRONG&gt;. Click &lt;STRONG&gt;OK&lt;/STRONG&gt; until you have closed all open dialog boxes.&lt;/LI&gt;&lt;LI&gt;Exit SAS Management Console.&lt;/LI&gt;&lt;LI&gt;From the Microsoft Windows desktop, click &lt;STRONG&gt;Start&lt;/STRONG&gt; and then &lt;STRONG&gt;Services&lt;/STRONG&gt;.&lt;/LI&gt;&lt;LI&gt;Select &lt;STRONG&gt;Stop the Metadata Server&lt;/STRONG&gt; and wait a few moments.&lt;/LI&gt;&lt;LI&gt;Restart the servers as follows:&lt;/LI&gt;&lt;UL&gt;&lt;LI&gt;Start the Metadata Server&lt;/LI&gt;&lt;LI&gt;Start the Object Spawner&lt;/LI&gt;&lt;LI&gt;Start the SAS Remote Services&lt;/LI&gt;&lt;LI&gt;Start the SASTS - Table Server&lt;/LI&gt;&lt;/UL&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: Shell escape is not valid in this SAS session.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2017 09:56:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-Shell-escape-is-not-valid-in-this-SAS-session/m-p/343218#M8037</guid>
      <dc:creator>sewa_bal_gmail_com</dc:creator>
      <dc:date>2017-03-22T09:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Shell escape is not valid in this SAS session</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-Shell-escape-is-not-valid-in-this-SAS-session/m-p/343220#M8038</link>
      <description>&lt;P&gt;IIRC, the scheduler uses one of the SAS Data Step Batch Servers, so you need to change the configuration of that.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2017 10:02:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-Shell-escape-is-not-valid-in-this-SAS-session/m-p/343220#M8038</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-03-22T10:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Shell escape is not valid in this SAS session</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-Shell-escape-is-not-valid-in-this-SAS-session/m-p/343226#M8039</link>
      <description>&lt;P&gt;I have update the batchsas.sh file..... now is working fine.&lt;/P&gt;&lt;P&gt;/opt/sas/config/Lev1/SASApp/BatchServer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;exec "$SAS_COMMAND" -&lt;STRONG&gt;xcmd&lt;/STRONG&gt; -lrecl 32767 "$@" "${USERMODS_OPTIONS[@]}"&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2017 10:57:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-Shell-escape-is-not-valid-in-this-SAS-session/m-p/343226#M8039</guid>
      <dc:creator>sewa_bal_gmail_com</dc:creator>
      <dc:date>2017-03-22T10:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Shell escape is not valid in this SAS session</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-Shell-escape-is-not-valid-in-this-SAS-session/m-p/343234#M8040</link>
      <description>&lt;P&gt;Instead of editing the sasbatch.sh file, you should add the -xcmd in the USERMODS_OPTIONS environment variable in sasbatch_usermods.sh.&lt;/P&gt;
&lt;P&gt;sasbatch.sh may be overwritten by updates or hotfixes, the *_usermods* files will not be changed.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2017 11:48:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-Shell-escape-is-not-valid-in-this-SAS-session/m-p/343234#M8040</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-03-22T11:48:12Z</dc:date>
    </item>
  </channel>
</rss>

