<?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 embed many programs to EG project at once in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-many-programs-to-EG-project-at-once/m-p/319464#M21425</link>
    <description>&lt;P&gt;An alternative to your backup approach would be to use a version control tool with your EG programs. You can easily define what programs make up projects within the VC tool and it means embedding the programs into a project is not required. We use this approach and we never lose a program!&lt;/P&gt;</description>
    <pubDate>Fri, 16 Dec 2016 07:42:40 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2016-12-16T07:42:40Z</dc:date>
    <item>
      <title>How to embed many programs to EG project at once</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-many-programs-to-EG-project-at-once/m-p/319194#M21411</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I work in SAS EG on virtual machine. My EG project contains about 100 SAS programs which are located in different folders (they are not embedded to project). In order to make backup of programs linked to the project I embed them. In order to embed program I right click on it, go to ‘Properties’, and click ‘Embed’ button. I have to repeat these actions 100 times in order to embed all programs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My question: is there some way to embed many programs to EG project at once?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2016 08:33:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-many-programs-to-EG-project-at-once/m-p/319194#M21411</guid>
      <dc:creator>DmitryErshov</dc:creator>
      <dc:date>2016-12-15T08:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to embed many programs to EG project at once</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-many-programs-to-EG-project-at-once/m-p/319200#M21412</link>
      <description>&lt;P&gt;I'm afraid there is no option for this at the moment. Consider posting a &lt;A href="https://communities.sas.com/t5/SASware-Ballot-Ideas/idb-p/sas_ideas" target="_self"&gt;SASware Ballot Idea&lt;/A&gt; for this.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2016 08:58:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-many-programs-to-EG-project-at-once/m-p/319200#M21412</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-12-15T08:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to embed many programs to EG project at once</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-many-programs-to-EG-project-at-once/m-p/319243#M21413</link>
      <description>&lt;P&gt;Well, it could be made to work with EG Automation. &amp;nbsp;You can use EG Automation to create a new project, create a new code node with content, and then save the project.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So your process would use VBScript or PowerShell or similar, and would do the following:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Create an instance of the EG Automation app&lt;/LI&gt;
&lt;LI&gt;Create a new project&lt;/LI&gt;
&lt;LI&gt;Use native scripting methods to navigate the file system and &lt;STRONG&gt;for each SAS file&lt;/STRONG&gt;:
&lt;UL&gt;
&lt;LI&gt;create a new code node in the CodeCollection&lt;/LI&gt;
&lt;LI&gt;read the content of the SAS file (using scripting file objects)&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Then, when complete with all files, save the Project file&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;More &lt;A href="http://www.sascommunity.org/wiki/Not_Just_for_Scheduling:_Doing_More_with_SAS_Enterprise_Guide_Automation" target="_self"&gt;details and examples about automation are in this article&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;And in &lt;A href="http://blogs.sas.com/content/sasdummy/2011/05/03/using-sas-enterprise-guide-to-run-programs-in-batch/" target="_self"&gt;this blog post&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2016 13:03:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-many-programs-to-EG-project-at-once/m-p/319243#M21413</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2016-12-15T13:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to embed many programs to EG project at once</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-many-programs-to-EG-project-at-once/m-p/319464#M21425</link>
      <description>&lt;P&gt;An alternative to your backup approach would be to use a version control tool with your EG programs. You can easily define what programs make up projects within the VC tool and it means embedding the programs into a project is not required. We use this approach and we never lose a program!&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2016 07:42:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-embed-many-programs-to-EG-project-at-once/m-p/319464#M21425</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2016-12-16T07:42:40Z</dc:date>
    </item>
  </channel>
</rss>

