<?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 execute code parallelly? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-execute-code-parallelly/m-p/362030#M85481</link>
    <description>&lt;P&gt;Hi Reeza,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks a lot for the thread. this is really helpful&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Sheeba&lt;/P&gt;</description>
    <pubDate>Fri, 26 May 2017 16:16:51 GMT</pubDate>
    <dc:creator>Sheeba</dc:creator>
    <dc:date>2017-05-26T16:16:51Z</dc:date>
    <item>
      <title>How to execute code parallelly?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-execute-code-parallelly/m-p/361784#M85370</link>
      <description>&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;Hi,&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;I have a program which creates a temporary &amp;nbsp;dataset one which I am planning to subset into three temporary &amp;nbsp;datasets – dataset A, dataset B, dataset C.&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;I have a macro calculate() which does a join and some calculations.&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;I need to pass each of the three datasets as input parameter to the macro so that the calculations are done for each of the three datasets : dataset A, dataset B, dataset C.&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;Is there any way I can do the macro call &amp;nbsp;parallel so as to save the processing time. &lt;FONT face="Calibri"&gt;we have grid server&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;data A B C;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;set one;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;if col1= X then output A;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;else if col1= Y then output B;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;else if col1= Z then output C;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;run;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;Is there a way to execute the below macro calls in a parallel ? .&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;%calculate(A);&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;%calculate(B);&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;%calculate(C);&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;Thanks in advance,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Sheeba&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2017 21:39:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-execute-code-parallelly/m-p/361784#M85370</guid>
      <dc:creator>Sheeba</dc:creator>
      <dc:date>2017-05-25T21:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute code parallelly?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-execute-code-parallelly/m-p/361805#M85380</link>
      <description>&lt;P&gt;I would suggest looking to a process that does processing BY Col1;&lt;/P&gt;
&lt;P&gt;And only at the end split results, if needed. Likely to save a lot of headaches in the long run.&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2017 22:40:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-execute-code-parallelly/m-p/361805#M85380</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-05-25T22:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute code parallelly?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-execute-code-parallelly/m-p/361814#M85383</link>
      <description>&lt;P&gt;&lt;A href="https://communities.sas.com/t5/ODS-and-Base-Reporting/Parallel-Execution-of-SAS-Macro-With-include/td-p/62523" target="_blank"&gt;https://communities.sas.com/t5/ODS-and-Base-Reporting/Parallel-Execution-of-SAS-Macro-With-include/td-p/62523&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2017 23:09:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-execute-code-parallelly/m-p/361814#M85383</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-05-25T23:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute code parallelly?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-execute-code-parallelly/m-p/362029#M85480</link>
      <description>&lt;P&gt;Hi Ballardw,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the reply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will try to see if i can incorporate something keeping this point in mind.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Sheeba&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2017 16:15:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-execute-code-parallelly/m-p/362029#M85480</guid>
      <dc:creator>Sheeba</dc:creator>
      <dc:date>2017-05-26T16:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute code parallelly?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-execute-code-parallelly/m-p/362030#M85481</link>
      <description>&lt;P&gt;Hi Reeza,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks a lot for the thread. this is really helpful&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Sheeba&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2017 16:16:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-execute-code-parallelly/m-p/362030#M85481</guid>
      <dc:creator>Sheeba</dc:creator>
      <dc:date>2017-05-26T16:16:51Z</dc:date>
    </item>
  </channel>
</rss>

