<?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 Read-Only SAS files in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Read-Only-SAS-files/m-p/683940#M207201</link>
    <description>&lt;P&gt;My office runs regular SAS codes that are quite complex.&amp;nbsp; Recently one of them was changed in a minor way that caused it not to run without anyone knowing.&amp;nbsp; WAs wondering if there was a way to create a read only SAS file that would still process but would close it for edits?&amp;nbsp; Thank you.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Sep 2020 12:28:31 GMT</pubDate>
    <dc:creator>TinaLuse</dc:creator>
    <dc:date>2020-09-15T12:28:31Z</dc:date>
    <item>
      <title>Read-Only SAS files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Read-Only-SAS-files/m-p/683940#M207201</link>
      <description>&lt;P&gt;My office runs regular SAS codes that are quite complex.&amp;nbsp; Recently one of them was changed in a minor way that caused it not to run without anyone knowing.&amp;nbsp; WAs wondering if there was a way to create a read only SAS file that would still process but would close it for edits?&amp;nbsp; Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 12:28:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Read-Only-SAS-files/m-p/683940#M207201</guid>
      <dc:creator>TinaLuse</dc:creator>
      <dc:date>2020-09-15T12:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: Read-Only SAS files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Read-Only-SAS-files/m-p/683950#M207202</link>
      <description>&lt;P&gt;Depends on what system you are using.&amp;nbsp; The most secure is to change the permission on the file at the operating system level.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The easiest way is to make sure to use the ACCESS=READONLY option when defining the libref that points to the file.&amp;nbsp; Then users cannot use that libref to modify any of the datasets.&amp;nbsp; You will just make sure that users are doing that consistently.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname ourdata '/some path' access=readonly;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 13:31:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Read-Only-SAS-files/m-p/683950#M207202</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-09-15T13:31:19Z</dc:date>
    </item>
  </channel>
</rss>

