<?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: SPDE-code optimisation in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SPDE-code-optimisation/m-p/803971#M316588</link>
    <description>&lt;P&gt;Without knowing more about the data and the joining, that would work better with appending using the SET statement:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
  set spde.month1 - spde.month36;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 25 Mar 2022 04:12:01 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2022-03-25T04:12:01Z</dc:date>
    <item>
      <title>SPDE-code optimisation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SPDE-code-optimisation/m-p/803830#M316531</link>
      <description>&lt;P&gt;SPDE PROC SQL code utilising a large SAS work space. Please suggests me ideas to optimize and use the work space to minimal.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-In current scenario, I'm performing PROC SQL join on 36 datasets having 12 columns each.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kindly consider below limitations:&lt;/P&gt;
&lt;P&gt;-Without redirecting - work or - utiloc locations&lt;/P&gt;
&lt;P&gt;-Without using system commands&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please let me know for further details.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 16:20:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SPDE-code-optimisation/m-p/803830#M316531</guid>
      <dc:creator>Kayalvizhi</dc:creator>
      <dc:date>2022-03-24T16:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: SPDE-code optimisation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SPDE-code-optimisation/m-p/803846#M316541</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/54371"&gt;@Kayalvizhi&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Proc SQL&amp;nbsp; joins do have large workspace requirement. Why don't you try using data step. That works row by row.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 17:50:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SPDE-code-optimisation/m-p/803846#M316541</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2022-03-24T17:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: SPDE-code optimisation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SPDE-code-optimisation/m-p/803939#M316571</link>
      <description>&lt;P&gt;Please post your code so we can see the type of joins you are using. We can't offer much useful advice until we see what you are currently doing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 00:16:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SPDE-code-optimisation/m-p/803939#M316571</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-03-25T00:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: SPDE-code optimisation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SPDE-code-optimisation/m-p/803967#M316586</link>
      <description>Proc sql;&lt;BR /&gt;Create table spde.new from select &lt;BR /&gt;*&lt;BR /&gt;&amp;lt;some functions are used&amp;gt;&lt;BR /&gt;from spde.temp %do I=1 %to 36;&lt;BR /&gt;Left join. Spde.month&amp;amp;i ; %end; &lt;BR /&gt;Run</description>
      <pubDate>Fri, 25 Mar 2022 03:46:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SPDE-code-optimisation/m-p/803967#M316586</guid>
      <dc:creator>Kayalvizhi</dc:creator>
      <dc:date>2022-03-25T03:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: SPDE-code optimisation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SPDE-code-optimisation/m-p/803970#M316587</link>
      <description>I’m migrating huge set of codes from SAS to SPDE( using HDFS). So I doesn’t want to make much changes to existing code.&lt;BR /&gt;&lt;BR /&gt;Can you please tell me why SPDE SQL using SAS workspace, and why not HDFS workspace. &lt;BR /&gt;&lt;BR /&gt;Is there a way to use HDFS as workspace when using SPDE</description>
      <pubDate>Fri, 25 Mar 2022 03:59:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SPDE-code-optimisation/m-p/803970#M316587</guid>
      <dc:creator>Kayalvizhi</dc:creator>
      <dc:date>2022-03-25T03:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: SPDE-code optimisation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SPDE-code-optimisation/m-p/803971#M316588</link>
      <description>&lt;P&gt;Without knowing more about the data and the joining, that would work better with appending using the SET statement:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
  set spde.month1 - spde.month36;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 04:12:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SPDE-code-optimisation/m-p/803971#M316588</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-03-25T04:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: SPDE-code optimisation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SPDE-code-optimisation/m-p/804003#M316598</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/54371"&gt;@Kayalvizhi&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Proc sql;&lt;BR /&gt;Create table spde.new from select &lt;BR /&gt;*&lt;BR /&gt;&amp;lt;some functions are used&amp;gt;&lt;BR /&gt;from spde.temp %do I=1 %to 36;&lt;BR /&gt;Left join. Spde.month&amp;amp;i ; %end; &lt;BR /&gt;Run&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;This code produces only syntax errors.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;there's a dot where it must not be&lt;/LI&gt;
&lt;LI&gt;the semicolon at the end of the first spde.month&amp;amp;i terminates the CREATE TABLE, the others will be invalid&lt;/LI&gt;
&lt;LI&gt;there are no ON conditions&lt;/LI&gt;
&lt;LI&gt;PROC SQL needs to be terminated with a QUIT, and no RUNs are needed, as SQL statements are always executed immediately.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Please post something that at least &lt;EM&gt;resembles&lt;/EM&gt; your real code, and give us at least some ideas of the datasets involved (variables used for matching, variables contained, match relationships).&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 08:46:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SPDE-code-optimisation/m-p/804003#M316598</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-03-25T08:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: SPDE-code optimisation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SPDE-code-optimisation/m-p/804495#M316817</link>
      <description>&lt;P&gt;You can use the SPDEUTILLOC option to specify where SPDE utility files will be stored.&lt;/P&gt;
&lt;P&gt;Unclear how this wirks with hdfs implmentaions of SPDE data.&lt;/P&gt;
&lt;P&gt;Maybe the environment variable&amp;nbsp;&lt;SPAN&gt;SPDE_HADOOP_WORK_PATH is the way to go:&lt;/SPAN&gt; variable&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/engspdehdfsug/n07ieiyvjz2wrxn10n7bs7xupvkc.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/engspdehdfsug/n07ieiyvjz2wrxn10n7bs7xupvkc.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also use SPDESORTSIZE if you have available memory, which will impove performance and lessen the burdon on utility file areas.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 12:43:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SPDE-code-optimisation/m-p/804495#M316817</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2022-03-28T12:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: SPDE-code optimisation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SPDE-code-optimisation/m-p/804706#M316925</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!!.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;gt;SPDEUTILLOC- Not privileged&amp;nbsp;to use options while invocation/change config file. So unable to use this option.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;gt;SPDESORTSIZE- Increasing spdesortsize uses more/full workspace (which I don't want to happen).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;gt;SPDE_HADOOP_WORK_PATH - I wanted to know more on how it works, because when I give a HDFS location, it still seems to use workspace and not HDFS path.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2022 10:50:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SPDE-code-optimisation/m-p/804706#M316925</guid>
      <dc:creator>Kayalvizhi</dc:creator>
      <dc:date>2022-03-29T10:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: SPDE-code optimisation</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SPDE-code-optimisation/m-p/805341#M317232</link>
      <description>&lt;P&gt;I think the idea is to use as much RAM as possible by tweaking SPDESORTSIZE, hence use less disk space.&lt;/P&gt;
&lt;P&gt;I haven't used SPDE in hdfs other than in a test environment (and that was quite a while ago), and I just refer to the documentation.&lt;/P&gt;
&lt;P&gt;But since at least I think the documentation does not clarify how different SPDE options work in a hdfs scenario, I suggest that you contact SAS tech support to get advice/clarifications.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2022 15:52:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SPDE-code-optimisation/m-p/805341#M317232</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2022-03-31T15:52:56Z</dc:date>
    </item>
  </channel>
</rss>

