<?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: How to lock the SAS code ?? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/How-to-lock-the-SAS-code/m-p/24273#M5483</link>
    <description>You can also store SAS code in a SAS catalog SOURCE entry and password-protect it there. A simple %INCLUDE statement can be used read the code from the catalog and submit it.</description>
    <pubDate>Wed, 09 Mar 2011 20:58:59 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2011-03-09T20:58:59Z</dc:date>
    <item>
      <title>How to lock the SAS code ??</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-lock-the-SAS-code/m-p/24267#M5477</link>
      <description>I know how to write protect the sas datasets,&lt;BR /&gt;
&lt;BR /&gt;
but is there any way or procedure to lock the sas code?&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance ...</description>
      <pubDate>Tue, 08 Mar 2011 01:41:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-lock-the-SAS-code/m-p/24267#M5477</guid>
      <dc:creator>SAS83</dc:creator>
      <dc:date>2011-03-08T01:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to lock the SAS code ??</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-lock-the-SAS-code/m-p/24268#M5478</link>
      <description>SAS code is only text, so you can use the OS security permissions to control ie deny Read and/or write.</description>
      <pubDate>Tue, 08 Mar 2011 02:01:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-lock-the-SAS-code/m-p/24268#M5478</guid>
      <dc:creator>twocanbazza</dc:creator>
      <dc:date>2011-03-08T02:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to lock the SAS code ??</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-lock-the-SAS-code/m-p/24269#M5479</link>
      <description>you could use a versioning control system like subversion or cvs. if your problem is people changing your code.</description>
      <pubDate>Tue, 08 Mar 2011 16:43:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-lock-the-SAS-code/m-p/24269#M5479</guid>
      <dc:creator>darrylovia</dc:creator>
      <dc:date>2011-03-08T16:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to lock the SAS code ??</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-lock-the-SAS-code/m-p/24270#M5480</link>
      <description>I tried doing that but any one can change the settings again. Thanks anyway..</description>
      <pubDate>Tue, 08 Mar 2011 17:13:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-lock-the-SAS-code/m-p/24270#M5480</guid>
      <dc:creator>SAS83</dc:creator>
      <dc:date>2011-03-08T17:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to lock the SAS code ??</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-lock-the-SAS-code/m-p/24271#M5481</link>
      <description>"I tried doing that but any one can change the settings again."&lt;BR /&gt;
&lt;BR /&gt;
That statement is not uniformly true.  In both Unix and Windows, there are settings that provide different users with different roles and can implement the source code protection.</description>
      <pubDate>Tue, 08 Mar 2011 23:43:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-lock-the-SAS-code/m-p/24271#M5481</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2011-03-08T23:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to lock the SAS code ??</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-lock-the-SAS-code/m-p/24272#M5482</link>
      <description>You could save the program as a stored compiled macro using the STORE and SECURE options.  You would need to somehow save a separate copy of the source code in case you need to make future modifications or you need to copy the source program across different releases of SAS.</description>
      <pubDate>Wed, 09 Mar 2011 12:22:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-lock-the-SAS-code/m-p/24272#M5482</guid>
      <dc:creator>polingjw</dc:creator>
      <dc:date>2011-03-09T12:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to lock the SAS code ??</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-lock-the-SAS-code/m-p/24273#M5483</link>
      <description>You can also store SAS code in a SAS catalog SOURCE entry and password-protect it there. A simple %INCLUDE statement can be used read the code from the catalog and submit it.</description>
      <pubDate>Wed, 09 Mar 2011 20:58:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-lock-the-SAS-code/m-p/24273#M5483</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2011-03-09T20:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to lock the SAS code ??</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-lock-the-SAS-code/m-p/24274#M5484</link>
      <description>Can you send me the link or SUGi paper ??&lt;BR /&gt;
&lt;BR /&gt;
I dont see any password protection option?</description>
      <pubDate>Wed, 09 Mar 2011 21:11:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-lock-the-SAS-code/m-p/24274#M5484</guid>
      <dc:creator>SAS83</dc:creator>
      <dc:date>2011-03-09T21:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to lock the SAS code ??</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-lock-the-SAS-code/m-p/24275#M5485</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
This link might help you,&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/shrref/59595/HTML/default/a000203048.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/shrref/59595/HTML/default/a000203048.htm&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Raveena</description>
      <pubDate>Wed, 09 Mar 2011 21:26:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-lock-the-SAS-code/m-p/24275#M5485</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2011-03-09T21:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to lock the SAS code ??</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-lock-the-SAS-code/m-p/24276#M5486</link>
      <description>Document says about the locking of SAS dataset, but I need to lock the SAS program code file. &lt;BR /&gt;
&lt;BR /&gt;
I use proc datasets to read, write access and it is very helpful. &lt;BR /&gt;
&lt;BR /&gt;
Special thank to Raveena,SASKiwi ,polingjw ,Doc@Duke ,darrylovia  ,twocanbazza .&lt;BR /&gt;
&lt;BR /&gt;
I learned many things from you while I am trying to find the solution for my question..&lt;BR /&gt;
&lt;BR /&gt;
I appreciate your help...</description>
      <pubDate>Wed, 09 Mar 2011 21:43:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-lock-the-SAS-code/m-p/24276#M5486</guid>
      <dc:creator>SAS83</dc:creator>
      <dc:date>2011-03-09T21:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to lock the SAS code ??</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-lock-the-SAS-code/m-p/24277#M5487</link>
      <description>Hi.&lt;BR /&gt;
A little trick is to change the file suffix, for example change class.sas to win.dll,&lt;BR /&gt;
then move the win.dll into c:\windows\system32\ ,&lt;BR /&gt;
then someone will treat it as windows system file to neglect it.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
After you can use notepad to open it, but only you know it is txt file.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ksharp</description>
      <pubDate>Thu, 10 Mar 2011 04:18:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-lock-the-SAS-code/m-p/24277#M5487</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2011-03-10T04:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to lock the SAS code ??</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-lock-the-SAS-code/m-p/24278#M5488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any suggestions on how to use windows file locking to lock SAS programs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have two people working on a large SAS program (windows workstations accessing files on a server share). With Word documents and many other documents if one person opens the file the next person to try to open it gets a message saying it is already in use. Any way to have the SAS editor lock the file in a similar fashion?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 03:38:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-lock-the-SAS-code/m-p/24278#M5488</guid>
      <dc:creator>BruceBrad</dc:creator>
      <dc:date>2013-02-28T03:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to lock the SAS code ??</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-lock-the-SAS-code/m-p/24279#M5489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That page definitely talks about locking individual entries in a catalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you are probably better off implementing a change control process instead.&amp;nbsp; You could use software like subversion or even just RCS.&amp;nbsp;&amp;nbsp; Or you could setup a process were changes are saved to either a different directory or different file name and changes to the production file is only made in a coordinated fashion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 05:24:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-lock-the-SAS-code/m-p/24279#M5489</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2013-02-28T05:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to lock the SAS code ??</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-lock-the-SAS-code/m-p/24280#M5490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Personally I find Word's habit of locking a file very annoying.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 05:29:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-lock-the-SAS-code/m-p/24280#M5490</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2013-02-28T05:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to lock the SAS code ??</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-lock-the-SAS-code/m-p/24281#M5491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tom's suggestion of using a change control process is a good one. We use TFS in our organisation and it allows you to lock a program if someone else has checked it out for changing. It also allows more than one person to work on the same program simultaneously and then merge the changes when checking them back in.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 19:51:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-lock-the-SAS-code/m-p/24281#M5491</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2013-02-28T19:51:45Z</dc:date>
    </item>
  </channel>
</rss>

