<?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: Shell exit is invalid in this SAS session.Run a sas code x &amp;quot;chmod ....&amp;quot;; in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Shell-exit-is-invalid-in-this-SAS-session-Run-a-sas-code-x-quot/m-p/751635#M1224</link>
    <description>&lt;P&gt;Depending on the full context of your code &amp;amp; if you're on a unix based system, you could use the 'permission' option within the &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/hostunx/n1cwdt7h01vaken0zl8veh8x3ybc.htm" target="_blank" rel="noopener"&gt;filename statement&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alan&lt;/P&gt;</description>
    <pubDate>Fri, 02 Jul 2021 07:23:17 GMT</pubDate>
    <dc:creator>alancox</dc:creator>
    <dc:date>2021-07-02T07:23:17Z</dc:date>
    <item>
      <title>Shell exit is invalid in this SAS session.Run a sas code x "chmod ....";</title>
      <link>https://communities.sas.com/t5/Developers/Shell-exit-is-invalid-in-this-SAS-session-Run-a-sas-code-x-quot/m-p/751615#M1222</link>
      <description>Shell exit is invalid in this SAS session.Run a sas code x "chmod ....";</description>
      <pubDate>Fri, 02 Jul 2021 03:22:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Shell-exit-is-invalid-in-this-SAS-session-Run-a-sas-code-x-quot/m-p/751615#M1222</guid>
      <dc:creator>GritZhou</dc:creator>
      <dc:date>2021-07-02T03:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: Shell exit is invalid in this SAS session.Run a sas code x "chmod ....";</title>
      <link>https://communities.sas.com/t5/Developers/Shell-exit-is-invalid-in-this-SAS-session-Run-a-sas-code-x-quot/m-p/751621#M1223</link>
      <description>&lt;P&gt;There is no SAS-internal tool for setting file permissions, so you must have XCMD enabled to do it from a SAS program.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 05:41:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Shell-exit-is-invalid-in-this-SAS-session-Run-a-sas-code-x-quot/m-p/751621#M1223</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-07-02T05:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: Shell exit is invalid in this SAS session.Run a sas code x "chmod ....";</title>
      <link>https://communities.sas.com/t5/Developers/Shell-exit-is-invalid-in-this-SAS-session-Run-a-sas-code-x-quot/m-p/751635#M1224</link>
      <description>&lt;P&gt;Depending on the full context of your code &amp;amp; if you're on a unix based system, you could use the 'permission' option within the &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/hostunx/n1cwdt7h01vaken0zl8veh8x3ybc.htm" target="_blank" rel="noopener"&gt;filename statement&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alan&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 07:23:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Shell-exit-is-invalid-in-this-SAS-session-Run-a-sas-code-x-quot/m-p/751635#M1224</guid>
      <dc:creator>alancox</dc:creator>
      <dc:date>2021-07-02T07:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: Shell exit is invalid in this SAS session.Run a sas code x "chmod ....";</title>
      <link>https://communities.sas.com/t5/Developers/Shell-exit-is-invalid-in-this-SAS-session-Run-a-sas-code-x-quot/m-p/751668#M1226</link>
      <description>&lt;P&gt;Can this be used on an existing file without making any other modifications?&lt;/P&gt;
&lt;P&gt;Will the permissions be changed if this is submitted:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename xxx '/path/file' permission=".....";
filename xxx clear;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 09:45:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Shell-exit-is-invalid-in-this-SAS-session-Run-a-sas-code-x-quot/m-p/751668#M1226</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-07-02T09:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: Shell exit is invalid in this SAS session.Run a sas code x "chmod ....";</title>
      <link>https://communities.sas.com/t5/Developers/Shell-exit-is-invalid-in-this-SAS-session-Run-a-sas-code-x-quot/m-p/751674#M1227</link>
      <description>&lt;P&gt;There is an option to do this too using this&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/caspg/cas-table-save.htm#SAS.cas-table-save-permission" target="_self"&gt;CAS action&lt;/A&gt;&amp;nbsp;if you're a Viya user.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Always worth a try to see how it functions as you suggest Kurt&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 10:04:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Shell-exit-is-invalid-in-this-SAS-session-Run-a-sas-code-x-quot/m-p/751674#M1227</guid>
      <dc:creator>alancox</dc:creator>
      <dc:date>2021-07-02T10:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: Shell exit is invalid in this SAS session.Run a sas code x "chmod ....";</title>
      <link>https://communities.sas.com/t5/Developers/Shell-exit-is-invalid-in-this-SAS-session-Run-a-sas-code-x-quot/m-p/752322#M1232</link>
      <description>&lt;P&gt;I tried it; you cannot change just the permission of an existing file, you must write to it.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 14:27:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Shell-exit-is-invalid-in-this-SAS-session-Run-a-sas-code-x-quot/m-p/752322#M1232</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-07-06T14:27:14Z</dc:date>
    </item>
  </channel>
</rss>

