<?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: Sha1 Hashing failing on large dataset in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Sha1-Hashing-failing-on-large-dataset/m-p/464617#M70522</link>
    <description>&lt;P&gt;I know nothing of proc groovy, but the message looks like what happens when a hash table runs out of memory.&lt;/P&gt;
&lt;P&gt;1. Have you tried increasing the amount of memory available to see if things improve?&lt;/P&gt;
&lt;P&gt;2. SAS 9.4 has a new &lt;A href="https://blogs.sas.com/content/sasdummy/2014/01/18/sha256-function-sas94/" target="_self"&gt;SHA1 function&lt;/A&gt;. Could this be used?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 24 May 2018 01:46:23 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2018-05-24T01:46:23Z</dc:date>
    <item>
      <title>Sha1 Hashing failing on large dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Sha1-Hashing-failing-on-large-dataset/m-p/462477#M70400</link>
      <description>&lt;P&gt;We are hashing 4 columns and using proc groovy to do so. When we run our script in small time increments, versus an entire year., we have&amp;nbsp;ZERO issues.&amp;nbsp;Our smaller datasets can be done in quarters but our larger ones would have to be done in much smaller time frames, taking weeks to piece together,as the max amount of rows we can write at once is 140K. The crazy part is we always hit in the 144K range and it errors out on us. Any ideas as to what could be causing the issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;***The line and column numbers always change and the amount of observations is always in 144K range***&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error:&amp;nbsp; &amp;nbsp;Object instantiation failed at line 298 column 62.&lt;/P&gt;&lt;P&gt;ERROR: DATA STEP Component Object failure.&lt;/P&gt;&lt;P&gt;Aborted during the Execution phase.&lt;/P&gt;&lt;P&gt;NOTE: There were 144595 observations read from the data set FY16.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;filename cp temp;&lt;BR /&gt;proc groovy classpath=cp;&lt;/P&gt;&lt;P&gt;submit parseonly;&lt;BR /&gt;import java.security.MessageDigest&lt;BR /&gt;class Sha1 {&lt;BR /&gt;public String encode(String message) {&lt;BR /&gt;return new BigInteger(1, MessageDigest.getInstance("SHA1").digest(message.getBytes())).toString(16);&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;endsubmit;&lt;BR /&gt;&lt;BR /&gt;quit;&lt;/P&gt;</description>
      <pubDate>Tue, 15 May 2018 19:19:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Sha1-Hashing-failing-on-large-dataset/m-p/462477#M70400</guid>
      <dc:creator>mhoward00</dc:creator>
      <dc:date>2018-05-15T19:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: Sha1 Hashing failing on large dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Sha1-Hashing-failing-on-large-dataset/m-p/464617#M70522</link>
      <description>&lt;P&gt;I know nothing of proc groovy, but the message looks like what happens when a hash table runs out of memory.&lt;/P&gt;
&lt;P&gt;1. Have you tried increasing the amount of memory available to see if things improve?&lt;/P&gt;
&lt;P&gt;2. SAS 9.4 has a new &lt;A href="https://blogs.sas.com/content/sasdummy/2014/01/18/sha256-function-sas94/" target="_self"&gt;SHA1 function&lt;/A&gt;. Could this be used?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2018 01:46:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Sha1-Hashing-failing-on-large-dataset/m-p/464617#M70522</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2018-05-24T01:46:23Z</dc:date>
    </item>
  </channel>
</rss>

