<?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 find if a program or macro is currently being used by other users in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-if-a-program-or-macro-is-currently-being-used-by/m-p/398001#M278266</link>
    <description>I am not using version* control mechanism.</description>
    <pubDate>Fri, 22 Sep 2017 06:39:19 GMT</pubDate>
    <dc:creator>ajaybetham</dc:creator>
    <dc:date>2017-09-22T06:39:19Z</dc:date>
    <item>
      <title>How to find if a program or macro is currently being used by other users</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-if-a-program-or-macro-is-currently-being-used-by/m-p/397297#M278258</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I would like to know if there is a way to find out if the program or macro is currently used by any other user.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For Example:&lt;/P&gt;&lt;P&gt;There is a macro with the name macro1.sas. It is currently opened for edititing in a Sas studio or Sas EG. How to find out that macro1.sas is opened for edititng. Please suggest a programmatic way to do this. I am assuming there might a procedure or macro that helps me achieve this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ajay&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2017 01:14:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-find-if-a-program-or-macro-is-currently-being-used-by/m-p/397297#M278258</guid>
      <dc:creator>ajaybetham</dc:creator>
      <dc:date>2017-09-20T01:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to find if a program or macro is currently being used by other users</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-if-a-program-or-macro-is-currently-being-used-by/m-p/397323#M278259</link>
      <description>&lt;P&gt;EG does not lock program files, so any number of users can open them without anybody knowing.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2017 05:23:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-find-if-a-program-or-macro-is-currently-being-used-by/m-p/397323#M278259</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2017-09-20T05:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to find if a program or macro is currently being used by other users</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-if-a-program-or-macro-is-currently-being-used-by/m-p/397327#M278260</link>
      <description>&lt;P&gt;Thanks Chris!&lt;/P&gt;&lt;P&gt;I understand&amp;nbsp;EG doesn't lock. But my requirement is to know if the program is open for editing by any other user. I want to know this programmatically.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2017 05:38:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-find-if-a-program-or-macro-is-currently-being-used-by/m-p/397327#M278260</guid>
      <dc:creator>ajaybetham</dc:creator>
      <dc:date>2017-09-20T05:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to find if a program or macro is currently being used by other users</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-if-a-program-or-macro-is-currently-being-used-by/m-p/397334#M278261</link>
      <description>&lt;P&gt;"without anybody knowing" answers your question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since files are not marked or locked by EG, there is no way.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to keep track of versions, this may interest you however:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/resources/papers/proceedings14/SAS179-2014.pdf" target="_blank"&gt;http://support.sas.com/resources/papers/proceedings14/SAS179-2014.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.sascommunity.org/wiki/Version_control" target="_blank"&gt;http://www.sascommunity.org/wiki/Version_control&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2017 06:17:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-find-if-a-program-or-macro-is-currently-being-used-by/m-p/397334#M278261</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2017-09-20T06:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to find if a program or macro is currently being used by other users</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-if-a-program-or-macro-is-currently-being-used-by/m-p/397474#M278262</link>
      <description>&lt;P&gt;Are you using a version control system where someone has to check out their code to edit it?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2017 15:01:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-find-if-a-program-or-macro-is-currently-being-used-by/m-p/397474#M278262</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-09-20T15:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to find if a program or macro is currently being used by other users</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-if-a-program-or-macro-is-currently-being-used-by/m-p/397482#M278263</link>
      <description>No. I just need to find out if a program is opened by other user in Sas Studio or Sas Eg. I know when you open a program in Sas studio, you can see ~ before the program.</description>
      <pubDate>Wed, 20 Sep 2017 15:20:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-find-if-a-program-or-macro-is-currently-being-used-by/m-p/397482#M278263</guid>
      <dc:creator>ajaybetham</dc:creator>
      <dc:date>2017-09-20T15:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to find if a program or macro is currently being used by other users</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-if-a-program-or-macro-is-currently-being-used-by/m-p/397773#M278264</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/166256"&gt;@ajaybetham&lt;/a&gt; wrote:&lt;BR /&gt;No. I just need to find out if a program is opened by other user in Sas Studio or Sas Eg. I know when you open a program in Sas studio, you can see ~ before the program.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16961"&gt;@ChrisNZ&lt;/a&gt; already mentioned: "Since files are not marked or locked by EG, &lt;STRONG&gt;there is no way&lt;/STRONG&gt;."&lt;/P&gt;&lt;P&gt;Program-files are simple text files, that can be viewed and edited by any text editor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please explain why you need to know if a program is opened by other users?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2017 13:35:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-find-if-a-program-or-macro-is-currently-being-used-by/m-p/397773#M278264</guid>
      <dc:creator>error_prone</dc:creator>
      <dc:date>2017-09-21T13:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to find if a program or macro is currently being used by other users</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-if-a-program-or-macro-is-currently-being-used-by/m-p/398000#M278265</link>
      <description>&lt;P&gt;No, I am not using error control mechanism.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2017 06:38:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-find-if-a-program-or-macro-is-currently-being-used-by/m-p/398000#M278265</guid>
      <dc:creator>ajaybetham</dc:creator>
      <dc:date>2017-09-22T06:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to find if a program or macro is currently being used by other users</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-if-a-program-or-macro-is-currently-being-used-by/m-p/398001#M278266</link>
      <description>I am not using version* control mechanism.</description>
      <pubDate>Fri, 22 Sep 2017 06:39:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-find-if-a-program-or-macro-is-currently-being-used-by/m-p/398001#M278266</guid>
      <dc:creator>ajaybetham</dc:creator>
      <dc:date>2017-09-22T06:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to find if a program or macro is currently being used by other users</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-if-a-program-or-macro-is-currently-being-used-by/m-p/398116#M278267</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/166256"&gt;@ajaybetham&lt;/a&gt; wrote:&lt;BR /&gt;I am not using version* control mechanism.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I think that's your answer though, if you want to know who's using a file and make sure changes are not overwriting each other you should be implementing a version control system. Git interfaces with SAS.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2017 14:43:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-find-if-a-program-or-macro-is-currently-being-used-by/m-p/398116#M278267</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-09-22T14:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to find if a program or macro is currently being used by other users</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-if-a-program-or-macro-is-currently-being-used-by/m-p/398408#M278268</link>
      <description>&lt;P&gt;You didn't get the answer you want, but you got a correct answer.&amp;nbsp; How about marking this topic as solved?&lt;/P&gt;</description>
      <pubDate>Sun, 24 Sep 2017 20:28:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-find-if-a-program-or-macro-is-currently-being-used-by/m-p/398408#M278268</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2017-09-24T20:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to find if a program or macro is currently being used by other users</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-if-a-program-or-macro-is-currently-being-used-by/m-p/398450#M278269</link>
      <description>&lt;P&gt;I am surprised to know that there is no way to know the files being edited in Sas.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2017 07:07:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-find-if-a-program-or-macro-is-currently-being-used-by/m-p/398450#M278269</guid>
      <dc:creator>ajaybetham</dc:creator>
      <dc:date>2017-09-25T07:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to find if a program or macro is currently being used by other users</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-if-a-program-or-macro-is-currently-being-used-by/m-p/398524#M278270</link>
      <description>&lt;P&gt;Yes, you may be "surprised to know", but you now do know.&amp;nbsp;&amp;nbsp; Basically it just says that the task you want is handled by special purpose software (version control) that handles "content management" of all sorts of files, not just sas programs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So how about helping the rest of the community by marking this question as solved?&amp;nbsp; If, contrary&amp;nbsp;to the responses of very experienced participants in this topic, you learn of a way to solve this entirely within sas, then edit this topic with that solution.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2017 13:23:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-find-if-a-program-or-macro-is-currently-being-used-by/m-p/398524#M278270</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2017-09-25T13:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to find if a program or macro is currently being used by other users</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-find-if-a-program-or-macro-is-currently-being-used-by/m-p/398535#M278271</link>
      <description>it is not solved. You can close the thread though.</description>
      <pubDate>Mon, 25 Sep 2017 13:44:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-find-if-a-program-or-macro-is-currently-being-used-by/m-p/398535#M278271</guid>
      <dc:creator>ajaybetham</dc:creator>
      <dc:date>2017-09-25T13:44:55Z</dc:date>
    </item>
  </channel>
</rss>

