<?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 Benefits of SAS/Connect symmetric multiprocessing via EG in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Benefits-of-SAS-Connect-symmetric-multiprocessing-via-EG/m-p/274097#M19025</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm playing around on a new SAS server and having a hard time understanding a bit of the architecture.&amp;nbsp; Of course I'm talking with the admins, but curious if this is a common setup.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a linux SAS server running 9.4, accessed from E.G.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In EG, when it connects to server, it runs:&lt;/P&gt;
&lt;P&gt;signon local sascmd="!sascmd";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From reading the SAS/Connect docs, it looks like this is starting a new SAS session on the same workspace server that is used by my EG session.&amp;nbsp; ("symmetric multiprocessing"?).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then in the pre code and post code to each code submission, they have rsubmit; and&amp;nbsp; endrsubmit;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So every time an EG user submits code, it is not actually executing in the session that EG is connected to, it is being remote submitted to the second session.&amp;nbsp; And all of this is transparent to the user (when it works well. : ).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm curious what the benefit is to this approach.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I read a little about symmetric multiprocessing.&amp;nbsp; And I can see how if a user was using this to manage their own parallel processing by using multiple asycnhronous sessions, this would be useful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But in this case everything is synchronous, and all the code a&amp;nbsp; user submits is executing in&amp;nbsp; the second session, without ever using the main session which EG is connected to.&amp;nbsp; Is there a benefit to this approach?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In my first couple days of using it, I'm hittling little problems, for example I have code that tries to detect if it is running on EG, and get's information macro macro variables that only exist when EG is the client.&amp;nbsp; That code doesn't work, because the code I submitted isn't actually running in the EG session, it's running in the side session.&amp;nbsp; If I want to see what is happening in the main EG session symbol table , I need to code: endrsubmit; %put _global_; rsubmit; to break out&amp;nbsp;of the&amp;nbsp;rsumbit wrapper added by the precode/postcode.&amp;nbsp;&amp;nbsp; I will be able to overcome that sort of stuff.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just curious if I am interpretting this correctly (i.e. that SIGNON statement really is creating a separate SAS session on the same server that EG session is running on?)&amp;nbsp; and why this might be useful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;--Q.&lt;/P&gt;</description>
    <pubDate>Tue, 31 May 2016 14:13:59 GMT</pubDate>
    <dc:creator>Quentin</dc:creator>
    <dc:date>2016-05-31T14:13:59Z</dc:date>
    <item>
      <title>Benefits of SAS/Connect symmetric multiprocessing via EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Benefits-of-SAS-Connect-symmetric-multiprocessing-via-EG/m-p/274097#M19025</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm playing around on a new SAS server and having a hard time understanding a bit of the architecture.&amp;nbsp; Of course I'm talking with the admins, but curious if this is a common setup.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a linux SAS server running 9.4, accessed from E.G.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In EG, when it connects to server, it runs:&lt;/P&gt;
&lt;P&gt;signon local sascmd="!sascmd";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From reading the SAS/Connect docs, it looks like this is starting a new SAS session on the same workspace server that is used by my EG session.&amp;nbsp; ("symmetric multiprocessing"?).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then in the pre code and post code to each code submission, they have rsubmit; and&amp;nbsp; endrsubmit;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So every time an EG user submits code, it is not actually executing in the session that EG is connected to, it is being remote submitted to the second session.&amp;nbsp; And all of this is transparent to the user (when it works well. : ).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm curious what the benefit is to this approach.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I read a little about symmetric multiprocessing.&amp;nbsp; And I can see how if a user was using this to manage their own parallel processing by using multiple asycnhronous sessions, this would be useful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But in this case everything is synchronous, and all the code a&amp;nbsp; user submits is executing in&amp;nbsp; the second session, without ever using the main session which EG is connected to.&amp;nbsp; Is there a benefit to this approach?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In my first couple days of using it, I'm hittling little problems, for example I have code that tries to detect if it is running on EG, and get's information macro macro variables that only exist when EG is the client.&amp;nbsp; That code doesn't work, because the code I submitted isn't actually running in the EG session, it's running in the side session.&amp;nbsp; If I want to see what is happening in the main EG session symbol table , I need to code: endrsubmit; %put _global_; rsubmit; to break out&amp;nbsp;of the&amp;nbsp;rsumbit wrapper added by the precode/postcode.&amp;nbsp;&amp;nbsp; I will be able to overcome that sort of stuff.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just curious if I am interpretting this correctly (i.e. that SIGNON statement really is creating a separate SAS session on the same server that EG session is running on?)&amp;nbsp; and why this might be useful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;--Q.&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2016 14:13:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Benefits-of-SAS-Connect-symmetric-multiprocessing-via-EG/m-p/274097#M19025</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2016-05-31T14:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: Benefits of SAS/Connect symmetric multiprocessing via EG</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Benefits-of-SAS-Connect-symmetric-multiprocessing-via-EG/m-p/274128#M19027</link>
      <description>I haven't used this from EG. But your findings sounds correct. &lt;BR /&gt;But I think that the overhead for starting a new SAS session is quite small, just need a few MB. But the code will look unnecessary complicated. Perhaps you could turn this off by default and use it explicitly?</description>
      <pubDate>Tue, 31 May 2016 15:45:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Benefits-of-SAS-Connect-symmetric-multiprocessing-via-EG/m-p/274128#M19027</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-05-31T15:45:53Z</dc:date>
    </item>
  </channel>
</rss>

