<?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 Commit option disables when openning a program originally written in SAS base in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Commit-option-disables-when-openning-a-program-originally/m-p/346072#M22902</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my company we are migrating from SAS base to SAS EG and we are willing to take advantage of some nice EG functionalities such as the &lt;SPAN&gt;&lt;STRONG&gt;Program History&lt;/STRONG&gt;. I don't have any trouble with new projects/programs created with SAS EG from scratch but I have tried to &lt;STRONG&gt;open&lt;/STRONG&gt; a program originally written in SAS base from SAS EG and the &lt;STRONG&gt;option "Commit" appears disabled&lt;/STRONG&gt;. However, if I &lt;STRONG&gt;copy-paste&lt;/STRONG&gt; the code from SAS base or from SAS EG itself it &lt;STRONG&gt;works nicely&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any clues on what could be happening or how could I avoid it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance for your help!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 31 Mar 2017 09:44:40 GMT</pubDate>
    <dc:creator>emera86</dc:creator>
    <dc:date>2017-03-31T09:44:40Z</dc:date>
    <item>
      <title>Commit option disables when openning a program originally written in SAS base</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Commit-option-disables-when-openning-a-program-originally/m-p/346072#M22902</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my company we are migrating from SAS base to SAS EG and we are willing to take advantage of some nice EG functionalities such as the &lt;SPAN&gt;&lt;STRONG&gt;Program History&lt;/STRONG&gt;. I don't have any trouble with new projects/programs created with SAS EG from scratch but I have tried to &lt;STRONG&gt;open&lt;/STRONG&gt; a program originally written in SAS base from SAS EG and the &lt;STRONG&gt;option "Commit" appears disabled&lt;/STRONG&gt;. However, if I &lt;STRONG&gt;copy-paste&lt;/STRONG&gt; the code from SAS base or from SAS EG itself it &lt;STRONG&gt;works nicely&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any clues on what could be happening or how could I avoid it?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance for your help!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2017 09:44:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Commit-option-disables-when-openning-a-program-originally/m-p/346072#M22902</guid>
      <dc:creator>emera86</dc:creator>
      <dc:date>2017-03-31T09:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: Commit option disables when openning a program originally written in SAS base</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Commit-option-disables-when-openning-a-program-originally/m-p/346151#M22906</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@emera86,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In order to use the SAS Enterprise Guide program history feature, your program must be embedded in the project or stored in a Git repository. &amp;nbsp;Embedded programs are programs that are stored inside the SAS Enterprise Guide project and can't be accessed when the project is closed - so when you copy code into the code editor, that creates an embedded program. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The existing programs that you wrote in Base SAS and then opened in SAS Enterprise Guide are externally referenced programs. &amp;nbsp;If you use Git software to manage your source code, you can save a program to a Git repository and then commit changes and manage your program history from within SAS Enterprise Guide. &amp;nbsp;You can also choose to change how a program is stored by right-clicking the program in the project tree and selecting &lt;STRONG&gt;Properties&lt;/STRONG&gt;. If the program is externally referenced, you can click &lt;STRONG&gt;Embed &lt;/STRONG&gt;to save it as an embedded program that no longer references the external file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can read more about this in the SAS Enterprise Guide help. &amp;nbsp;In the help window, click the Index tab and type in &lt;FONT face="courier new,courier"&gt;program history. &amp;nbsp;&lt;FONT face="arial,helvetica,sans-serif"&gt;The About topic will link you to all of the related help topics.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I hope that helps!&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Jennifer&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2017 14:13:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Commit-option-disables-when-openning-a-program-originally/m-p/346151#M22906</guid>
      <dc:creator>jennifert</dc:creator>
      <dc:date>2017-03-31T14:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: Commit option disables when openning a program originally written in SAS base</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Commit-option-disables-when-openning-a-program-originally/m-p/346592#M22932</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/53862"&gt;@jennifert&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for very much your quick response. Your explanation makes a lot of sense, I had already read about it in the manual. However, the procedure you're suggesting doesn't seem to solve my problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I open the program from SAS EG there is a little arrow in the left bottom corner of the program icon that appears in the project tree meaning that it is a shortcut to the original Base SAS program exactly as you were describing (Commit and History appear disabled). I have followed the steps that you commented on how to embed this program into the SAS EG project and saved that new project. After that, the little arrow of the icon has dissapeared showing that the code is now embedded but the Commit and History options &lt;STRONG&gt;still appear disabled&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm attaching a screen shot of the problem. Please let me know if I can provide any more info that could be useful in order to fix it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm working with SAS EG v&amp;nbsp;7.1 HF1 (7.100.0.2002) (64-bit)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13659i9FD40483E6FBCB78/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="error_commit_disabled.PNG" title="error_commit_disabled.PNG" /&gt;</description>
      <pubDate>Mon, 03 Apr 2017 07:54:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Commit-option-disables-when-openning-a-program-originally/m-p/346592#M22932</guid>
      <dc:creator>emera86</dc:creator>
      <dc:date>2017-04-03T07:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: Commit option disables when openning a program originally written in SAS base</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Commit-option-disables-when-openning-a-program-originally/m-p/346713#M22936</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;@emera86,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you close the program view for the newly embedded program and then reopen it, do the commit controls become enabled?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;So in your screen shot example, click the X button that appear in the top right of the program pane, just under the Search Current Project box. Then double click on the Program_SASbase_embed again to redisplay it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I see there is a problem in the application where the controls do not become enabled until the program pane is closed and reopened. Changing between the two programs is not sufficient. The program pane must be closed by clicking the X on the pane.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Mark&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2017 15:08:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Commit-option-disables-when-openning-a-program-originally/m-p/346713#M22936</guid>
      <dc:creator>MarkAllemang</dc:creator>
      <dc:date>2017-04-03T15:08:06Z</dc:date>
    </item>
  </channel>
</rss>

