<?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: Multiple Threading in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Multiple-Threading/m-p/59538#M12909</link>
    <description>SASPhile&lt;BR /&gt;
"getting started with SAS/Connect" needs a little more than the example that you have found.&lt;BR /&gt;
"signon" works as long as there is somewhere "listening" - so have you a sas server with a service listening for your "signon"? &lt;BR /&gt;
I suspect not.&lt;BR /&gt;
You will find many benefits for design and performance of your systems once the SAS/Connect services can be started, but it requires some unusual learning, and probably help from a system administrator for whom setting up system services, like a sas connect listener, is "ordinary".&lt;BR /&gt;
&lt;BR /&gt;
Good luck&lt;BR /&gt;
peterC</description>
    <pubDate>Tue, 03 Aug 2010 22:13:54 GMT</pubDate>
    <dc:creator>Peter_C</dc:creator>
    <dc:date>2010-08-03T22:13:54Z</dc:date>
    <item>
      <title>Multiple Threading</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multiple-Threading/m-p/59532#M12903</link>
      <description>Hi,&lt;BR /&gt;
 I have 30 datasets that are to be sorted and then merged later.I heard there somethng about multi threading where we can sort all 30 data sets at once instead of sorting one after the other.Please help me on this.</description>
      <pubDate>Mon, 02 Aug 2010 18:17:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multiple-Threading/m-p/59532#M12903</guid>
      <dc:creator>SASPhile</dc:creator>
      <dc:date>2010-08-02T18:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Threading</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multiple-Threading/m-p/59533#M12904</link>
      <description>How about the SAS DOC and the SAS Support website to start?&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.&lt;BR /&gt;
&lt;BR /&gt;
Suggested Google advanced search argument, this topic/post:&lt;BR /&gt;
sort multiple threads site:sas.com</description>
      <pubDate>Mon, 02 Aug 2010 18:31:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multiple-Threading/m-p/59533#M12904</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2010-08-02T18:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Threading</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multiple-Threading/m-p/59534#M12905</link>
      <description>The multi-threading is within one SORT.  To use it on 30 datasets requires first combining the datasets.  Probably better to do 30 sorts.</description>
      <pubDate>Mon, 02 Aug 2010 22:54:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multiple-Threading/m-p/59534#M12905</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2010-08-02T22:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Threading</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multiple-Threading/m-p/59535#M12906</link>
      <description>The only way of doing concurrent sorting (or any process for that matter) that I am aware of is by doing it in separate SAS sessions. If you have SAS/CONNECT then you can create several asynchronous SAS sessions each doing their own processing in parallel/concurrently then get the parent SAS session to wait until all your child sessions have finished processing. &lt;BR /&gt;
&lt;BR /&gt;
This is probably only worth doing on a server with the I/O capacity to cope. On a desktop machine the first sort would tend to dominate the disk drive and all of the other concurrent sorts would be very slow.</description>
      <pubDate>Mon, 02 Aug 2010 23:46:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multiple-Threading/m-p/59535#M12906</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2010-08-02T23:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Threading</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multiple-Threading/m-p/59536#M12907</link>
      <description>SASPhile&lt;BR /&gt;
what Scott (SBB) is hoping you will find is referred to in many papers as &lt;B&gt; mpConnect&lt;/B&gt; &lt;I&gt;for multi-processing connect&lt;/I&gt;. Including this topic the "scalability" focus area, is well worth visiting at &lt;A href="http://support.sas.com/rnd/scalability/index.html" target="_blank"&gt;http://support.sas.com/rnd/scalability/index.html&lt;/A&gt;  &lt;BR /&gt;
. &lt;BR /&gt;
peterC</description>
      <pubDate>Tue, 03 Aug 2010 06:37:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multiple-Threading/m-p/59536#M12907</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2010-08-03T06:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Threading</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multiple-Threading/m-p/59537#M12908</link>
      <description>I tried to emulate the code shown in sas support but i got these following errors:&lt;BR /&gt;
&lt;BR /&gt;
ERROR:A communication subsystem partner link setup request failure has occurred.&lt;BR /&gt;
ERROR: Cannot locate TCP host 'TASK1'.&lt;BR /&gt;
ERROR: Remote signon to TASK1 cancelled.&lt;BR /&gt;
&lt;BR /&gt;
The code I used is:&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
options autosignon=yes sascmd="sas";&lt;BR /&gt;
signon task1 userid=sasprod;&lt;BR /&gt;
&lt;BR /&gt;
/* create TASK1 SAS session to sort the SALES data */&lt;BR /&gt;
rsubmit task1 wait=no sysrputsync=yes;&lt;BR /&gt;
   proc sort data=sashelp.shoes out=shoes1;&lt;BR /&gt;
      by product;&lt;BR /&gt;
   run;&lt;BR /&gt;
   /* get TASK1's WORK library path in parent session */&lt;BR /&gt;
   %sysrput pathtask1=%sysfunc(pathname(work));&lt;BR /&gt;
endrsubmit;&lt;BR /&gt;
signon task2 userid=sasprod;&lt;BR /&gt;
&lt;BR /&gt;
/* create TASK2 SAS session to sort the GOALS data */&lt;BR /&gt;
rsubmit task2 wait=no sysrputsync=yes;&lt;BR /&gt;
   proc sort data=sashelp.steel out=steel1;&lt;BR /&gt;
      by steel;&lt;BR /&gt;
   run;&lt;BR /&gt;
   /* get TASK2's WORK library path in parent session */&lt;BR /&gt;
   %sysrput pathtask2=%sysfunc(pathname(work));&lt;BR /&gt;
endrsubmit;</description>
      <pubDate>Tue, 03 Aug 2010 19:31:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multiple-Threading/m-p/59537#M12908</guid>
      <dc:creator>SASPhile</dc:creator>
      <dc:date>2010-08-03T19:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Threading</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multiple-Threading/m-p/59538#M12909</link>
      <description>SASPhile&lt;BR /&gt;
"getting started with SAS/Connect" needs a little more than the example that you have found.&lt;BR /&gt;
"signon" works as long as there is somewhere "listening" - so have you a sas server with a service listening for your "signon"? &lt;BR /&gt;
I suspect not.&lt;BR /&gt;
You will find many benefits for design and performance of your systems once the SAS/Connect services can be started, but it requires some unusual learning, and probably help from a system administrator for whom setting up system services, like a sas connect listener, is "ordinary".&lt;BR /&gt;
&lt;BR /&gt;
Good luck&lt;BR /&gt;
peterC</description>
      <pubDate>Tue, 03 Aug 2010 22:13:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multiple-Threading/m-p/59538#M12909</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2010-08-03T22:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Threading</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Multiple-Threading/m-p/59539#M12910</link>
      <description>As well as following Peter's advice I would suggest contacting your SAS Server administrator and/or knowledgeable SAS users at your site. Usually they know what configuration is required to signon. Usually it involves specifying the IP address of the SAS server and what TCP/IP port to communicate on.&lt;BR /&gt;
&lt;BR /&gt;
BTW the example you have is right on the money. You may also find the WAITFOR statement useful.</description>
      <pubDate>Tue, 03 Aug 2010 23:05:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Multiple-Threading/m-p/59539#M12910</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2010-08-03T23:05:55Z</dc:date>
    </item>
  </channel>
</rss>

