<?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 &amp;quot;Selected Server&amp;quot; option in SAS EG Program in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/quot-Selected-Server-quot-option-in-SAS-EG-Program/m-p/33774#M4333</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When using Program in SAS EG 4.3 there is an option where the user can select the server (if more than one server available) to use: "Selected Server" (this option is on the Program toolbar between "Stop" and "Analyze Program" buttons. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody know if is possible to achieve the same results (to select the right server) but using code lines (maybe something similar to "libname" statement) instead of selecting the server manually?&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Madalin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Mar 2012 11:34:47 GMT</pubDate>
    <dc:creator>smm662002</dc:creator>
    <dc:date>2012-03-16T11:34:47Z</dc:date>
    <item>
      <title>"Selected Server" option in SAS EG Program</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/quot-Selected-Server-quot-option-in-SAS-EG-Program/m-p/33774#M4333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When using Program in SAS EG 4.3 there is an option where the user can select the server (if more than one server available) to use: "Selected Server" (this option is on the Program toolbar between "Stop" and "Analyze Program" buttons. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody know if is possible to achieve the same results (to select the right server) but using code lines (maybe something similar to "libname" statement) instead of selecting the server manually?&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Madalin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2012 11:34:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/quot-Selected-Server-quot-option-in-SAS-EG-Program/m-p/33774#M4333</guid>
      <dc:creator>smm662002</dc:creator>
      <dc:date>2012-03-16T11:34:47Z</dc:date>
    </item>
    <item>
      <title>"Selected Server" option in SAS EG Program</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/quot-Selected-Server-quot-option-in-SAS-EG-Program/m-p/33775#M4334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Madalin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No, I'm afraid there isn't a way to do this from within your SAS program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you run the program via automation (such as in a VBScript), it can be done:&lt;/P&gt;&lt;P&gt;&lt;A href="http://blogs.sas.com/content/sasdummy/2011/05/03/using-sas-enterprise-guide-to-run-programs-in-batch/"&gt;http://blogs.sas.com/content/sasdummy/2011/05/03/using-sas-enterprise-guide-to-run-programs-in-batch/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you could write a script to "change" the server for a node in the project, and then re-save the project with the change.&amp;nbsp; Thus, you can automate the server switch, but not from within the user interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* However - even if you automate the server change for a program, if you have output data that is generated by the program and used "downstream", those data references will not be updated automatically.&amp;nbsp; So, subsequent tasks that use that data will not be updated and won't run correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can automate the overall "server resource" change throughout your project by using the MigrationWizard tool.&amp;nbsp; It's MigrationWizard.exe in your EG application directory, and the Help button provides access to quite a bit of detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2012 13:28:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/quot-Selected-Server-quot-option-in-SAS-EG-Program/m-p/33775#M4334</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2012-03-16T13:28:37Z</dc:date>
    </item>
  </channel>
</rss>

