<?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: SAS job across multiple machine in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-job-across-multiple-machine/m-p/432909#M27985</link>
    <description>If you already have your programs separate, why do you want to put them together? &lt;BR /&gt;Obviously this will make it harder to split them up again to have them executed in parallel.</description>
    <pubDate>Wed, 31 Jan 2018 20:56:15 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2018-01-31T20:56:15Z</dc:date>
    <item>
      <title>SAS job across multiple machine</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-job-across-multiple-machine/m-p/431382#M27848</link>
      <description>&lt;P&gt;Hello - we have SAS 9.4 running on Linux as grid environment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I have&amp;nbsp;multiple sas programs (test1.sas/test2.sas/test3.sas)&amp;nbsp;that I want to run across multiple sas nodes&amp;nbsp;(not just on one node) - what is best way to do that and what are the requirements from sas architecture or configuration stand point&amp;nbsp;that I must have it&amp;nbsp;in place?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please suggest - thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2018 18:08:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-job-across-multiple-machine/m-p/431382#M27848</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2018-01-26T18:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: SAS job across multiple machine</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-job-across-multiple-machine/m-p/431530#M27852</link>
      <description>It's not clear how and why you want to execute one program on several nodes. Please elaborate. &lt;BR /&gt;There are three typical use cases for grid (perhaps even more):&lt;BR /&gt;- many user can share an environmnet that easily can scale up (and down)&lt;BR /&gt;- jobs that parallel logic can run those in separate grid sessions&lt;BR /&gt;- divide an conquer large data set processing&lt;BR /&gt;&lt;BR /&gt;Have you read through the grid documentation and searched the web for examples?</description>
      <pubDate>Sat, 27 Jan 2018 12:49:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-job-across-multiple-machine/m-p/431530#M27852</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2018-01-27T12:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: SAS job across multiple machine</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-job-across-multiple-machine/m-p/431568#M27854</link>
      <description>&lt;P&gt;I can put my different sas programs into one as a piece of codes, but i still wants to run those pieces of codes across sas worker nodes/servers (not only on one server) so that they can run in parallel as well.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jan 2018 23:32:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-job-across-multiple-machine/m-p/431568#M27854</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2018-01-27T23:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: SAS job across multiple machine</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-job-across-multiple-machine/m-p/432590#M27935</link>
      <description>&lt;P&gt;So, if I run Unix script (test.sh) which has 3 sas program, all jobs runs on same sas node, I want to distribute across multiple nodes. Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sas "/codedir/test1.sas" -log&amp;nbsp;"/logdir/test1.log" -set run 1 &lt;BR /&gt;sas "/codedir/test1.sas" -log "/logdir/test2.log" -set run 2&lt;BR /&gt;sas "/codedir/test1.sas" -log "/logdir/test3.log" -set run 3&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2018 02:19:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-job-across-multiple-machine/m-p/432590#M27935</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2018-01-31T02:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: SAS job across multiple machine</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-job-across-multiple-machine/m-p/432612#M27938</link>
      <description>&lt;P&gt;Submit your batch jobs using the SASGSUB command. This will distribute your jobs across the Grid according the policies you've set up.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/gridref/67371/HTML/default/viewer.htm#p1vejjepgd6q6nn1mwritxqdui82.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/gridref/67371/HTML/default/viewer.htm#p1vejjepgd6q6nn1mwritxqdui82.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2018 05:50:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-job-across-multiple-machine/m-p/432612#M27938</guid>
      <dc:creator>nhvdwalt</dc:creator>
      <dc:date>2018-01-31T05:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: SAS job across multiple machine</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-job-across-multiple-machine/m-p/432851#M27977</link>
      <description>&lt;P&gt;Thanks &lt;A class="lia-link-navigation lia-page-link lia-user-name-link" id="link_8" style="color: rgb(0, 125, 195);" href="https://communities.sas.com/t5/user/viewprofilepage/user-id/145980" target="_self"&gt;&lt;SPAN class="login-bold"&gt;nhvdwalt&lt;/SPAN&gt;&lt;/A&gt;. So if I put all my three program into one sas job like below,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;test.sas has,&lt;/P&gt;
&lt;P&gt;%macro test;&lt;/P&gt;
&lt;P&gt;%include /user-home-dir/test1.sas&lt;/P&gt;
&lt;P&gt;%include /user-home-dir/test2.sas&lt;/P&gt;
&lt;P&gt;%include /user-home-dir/test3.sas&lt;/P&gt;
&lt;P&gt;%mend;&lt;/P&gt;
&lt;P&gt;%test;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and if I submit using command -&amp;gt; sasgsub -gridsubmitpgm&amp;nbsp;/user-home-dir/test.sas&amp;nbsp;&lt;/P&gt;
&lt;P&gt;this is still running on same node.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;any additional parameters or settings&amp;nbsp;required? &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jan 2018 17:44:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-job-across-multiple-machine/m-p/432851#M27977</guid>
      <dc:creator>woo</dc:creator>
      <dc:date>2018-01-31T17:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: SAS job across multiple machine</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-job-across-multiple-machine/m-p/432909#M27985</link>
      <description>If you already have your programs separate, why do you want to put them together? &lt;BR /&gt;Obviously this will make it harder to split them up again to have them executed in parallel.</description>
      <pubDate>Wed, 31 Jan 2018 20:56:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-job-across-multiple-machine/m-p/432909#M27985</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2018-01-31T20:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: SAS job across multiple machine</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-job-across-multiple-machine/m-p/433014#M27998</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13674"&gt;@LinusH&lt;/a&gt;&amp;nbsp;is correct, it doesn't really make sense.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For splitting up SAS code, there are really&amp;nbsp;three main scenarios:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1.) You have x number of SAS jobs that you can run in parallel e.g. my_job_1.sas,&amp;nbsp;&lt;SPAN&gt;my_job_2.sas,&amp;nbsp;my_job_3.sas. For this example I suggested the SASGSUB command since you can submit the three jobs to the Grid to run independently.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2.) You have a single SAS job e.g.&amp;nbsp;my_job_1.sas, but WITHIN the job there are pieces of the code that you can run in parallel. This probably speaks more to your last example. In this case you would invoke grdsrv_enable(_all_,resource=SASApp) macro that will allow the pieces of SAS cdoe to be submitted to the Grid using SAS/Connect (rsubmit).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;3.) A combination of 1.) and 2.)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bottom line is, you have many tools in the Grid toolbox, but it really comes down to the design of the code and what you trying to achieve in terms of parallel processing/load management. This is your logical design. Once you have this defined , then it's easy to see what Grid tool you need. So it's not about 'Do I use 1, 2, or 3 ?' It's about what you are trying to achieve.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it helps.....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2018 06:29:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-job-across-multiple-machine/m-p/433014#M27998</guid>
      <dc:creator>nhvdwalt</dc:creator>
      <dc:date>2018-02-01T06:29:15Z</dc:date>
    </item>
  </channel>
</rss>

