<?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. Running Sas Callsystem in Sas Analytics Pr in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Shell-escape-is-not-valid-in-this-SAS-session-Running-Sas/m-p/902790#M356778</link>
    <description>&lt;P&gt;Hello&lt;BR /&gt;My understanding is that SAS Analytics pro is based on SAS 9.4, so the path you referred to will not be valid.&lt;BR /&gt;The appropriate approach would be to speak to SAS Admin or SAS support in your organization. They will do the needful.&lt;/P&gt;</description>
    <pubDate>Mon, 13 Nov 2023 15:00:03 GMT</pubDate>
    <dc:creator>Sajid01</dc:creator>
    <dc:date>2023-11-13T15:00:03Z</dc:date>
    <item>
      <title>ERROR: Shell escape is not valid in this SAS session. Running Sas Callsystem in Sas Analytics Pro</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Shell-escape-is-not-valid-in-this-SAS-session-Running-Sas/m-p/902496#M356674</link>
      <description>&lt;P&gt;When running a simple data step in Sas Analytics pro with virtual machine Linux on Docker I got this kind of error&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;86 data _null_;&lt;/DIV&gt;&lt;DIV class=""&gt;87 call system('pwd');&lt;/DIV&gt;&lt;DIV class=""&gt;88 run;&lt;/DIV&gt;&lt;DIV class=""&gt;ERROR: Shell escape is not valid in this SAS session.&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In other post I saw that I should set -xcmd in USERMODS_OPTIONS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see this kind of file in the path&amp;nbsp;&lt;SPAN&gt;/opt/sas/viya/config/etc/batchserver/default/autoexec_usermods.sas but I do not know how to set it.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 13:52:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Shell-escape-is-not-valid-in-this-SAS-session-Running-Sas/m-p/902496#M356674</guid>
      <dc:creator>harmonic</dc:creator>
      <dc:date>2023-11-10T13:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Shell escape is not valid in this SAS session. Running Sas Callsystem in Sas Analytics Pr</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Shell-escape-is-not-valid-in-this-SAS-session-Running-Sas/m-p/902747#M356759</link>
      <description>&lt;P&gt;See this link how to go about it:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/doc/en/calcdc/3.5/calcontexts/n1hjn8eobk5pyhn1wg3ja0drdl6h.htm#n0vaodiuepq6inn1n0dd3naghxur" target="_blank"&gt;https://go.documentation.sas.com/doc/en/calcdc/3.5/calcontexts/n1hjn8eobk5pyhn1wg3ja0drdl6h.htm#n0vaodiuepq6inn1n0dd3naghxur&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2023 07:28:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Shell-escape-is-not-valid-in-this-SAS-session-Running-Sas/m-p/902747#M356759</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2023-11-13T07:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Shell escape is not valid in this SAS session. Running Sas Callsystem in Sas Analytics Pr</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Shell-escape-is-not-valid-in-this-SAS-session-Running-Sas/m-p/902755#M356761</link>
      <description>&lt;P&gt;In Sas Analytics pro with virtual machine I have Sas Studio and I don't find any manage environment to create a Compute Context.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternatively I found another solution:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Go to the path and edit this file:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;/opt/sas/viya/config/etc/spawner/default/spawner_usermods.sh&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;from the container in the Docker and swap the last row with this value:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;USERMODS="$JREOPTIONS -allowxcmd"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Save and restart the machine.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2023 08:44:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Shell-escape-is-not-valid-in-this-SAS-session-Running-Sas/m-p/902755#M356761</guid>
      <dc:creator>harmonic</dc:creator>
      <dc:date>2023-11-13T08:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Shell escape is not valid in this SAS session. Running Sas Callsystem in Sas Analytics Pr</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-Shell-escape-is-not-valid-in-this-SAS-session-Running-Sas/m-p/902790#M356778</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;My understanding is that SAS Analytics pro is based on SAS 9.4, so the path you referred to will not be valid.&lt;BR /&gt;The appropriate approach would be to speak to SAS Admin or SAS support in your organization. They will do the needful.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2023 15:00:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-Shell-escape-is-not-valid-in-this-SAS-session-Running-Sas/m-p/902790#M356778</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2023-11-13T15:00:03Z</dc:date>
    </item>
  </channel>
</rss>

