<?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: Why I can't use function hashing()? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Why-I-can-t-use-function-hashing/m-p/775830#M246643</link>
    <description>&lt;P&gt;The &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lefunctionsref/n0b8k12x6fdw4ln1snlsqrxd53gy.htm" target="_self"&gt;doc&lt;/A&gt; says : &lt;STRONG&gt;&lt;EM&gt;"This function is available beginning in SAS 9.4m6."&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 22 Oct 2021 08:47:25 GMT</pubDate>
    <dc:creator>PeterClemmensen</dc:creator>
    <dc:date>2021-10-22T08:47:25Z</dc:date>
    <item>
      <title>Why I can't use function hashing()?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Why-I-can-t-use-function-hashing/m-p/775829#M246642</link>
      <description>&lt;P&gt;My SAS version is 9.4 L1M5.&lt;/P&gt;
&lt;P&gt;I can use function md5.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data null;
  message = "The quick brown fox jumps over the lazy dog";
  md5 = put(md5(message),$hex.); 
  put md5= ;
run;

md5=9E107D9D372BB6826BD81D3542A419D6&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But I get error when I replace md5() by hashing().&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data null;
  message = "The quick brown fox jumps over the lazy dog";
  md5 = put(hashing('md5',message),$hex.); 
  put md5= ;
run;

ERROR 68-185: The function HASHING is unknown, or cannot be accessed.&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Somebody help!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 08:45:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Why-I-can-t-use-function-hashing/m-p/775829#M246642</guid>
      <dc:creator>whymath</dc:creator>
      <dc:date>2021-10-22T08:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Why I can't use function hashing()?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Why-I-can-t-use-function-hashing/m-p/775830#M246643</link>
      <description>&lt;P&gt;The &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lefunctionsref/n0b8k12x6fdw4ln1snlsqrxd53gy.htm" target="_self"&gt;doc&lt;/A&gt; says : &lt;STRONG&gt;&lt;EM&gt;"This function is available beginning in SAS 9.4m6."&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 08:47:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Why-I-can-t-use-function-hashing/m-p/775830#M246643</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2021-10-22T08:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Why I can't use function hashing()?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Why-I-can-t-use-function-hashing/m-p/775832#M246644</link>
      <description>&lt;P&gt;But I can see it in my help document, isn't it weird?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="whymath_0-1634893340362.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/64946iB975979380630E40/image-size/medium?v=v2&amp;amp;px=400" role="button" title="whymath_0-1634893340362.png" alt="whymath_0-1634893340362.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 09:02:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Why-I-can-t-use-function-hashing/m-p/775832#M246644</guid>
      <dc:creator>whymath</dc:creator>
      <dc:date>2021-10-22T09:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: Why I can't use function hashing()?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Why-I-can-t-use-function-hashing/m-p/775837#M246645</link>
      <description>&lt;P&gt;Perhaps, I never use the help document &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 09:21:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Why-I-can-t-use-function-hashing/m-p/775837#M246645</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2021-10-22T09:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: Why I can't use function hashing()?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Why-I-can-t-use-function-hashing/m-p/775887#M246659</link>
      <description>It's under CAS though under categories. Are you running CAS?&lt;BR /&gt;</description>
      <pubDate>Fri, 22 Oct 2021 15:05:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Why-I-can-t-use-function-hashing/m-p/775887#M246659</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-10-22T15:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: Why I can't use function hashing()?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Why-I-can-t-use-function-hashing/m-p/775991#M246700</link>
      <description>&lt;P&gt;Works for me under SAS9.4 with a recent enough maintenance release.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data null;
  message = "The quick brown fox jumps over the lazy dog";
  md5 = put(hashing('md5',message),$hex32.); 
  sas_version="&amp;amp;sysvlong.";
  os="&amp;amp;SYSSCPL";
  put md5= ;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Patrick_0-1634955385467.png" style="width: 900px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/64975iF9958D761B49D263/image-dimensions/900x81?v=v2" width="900" height="81" role="button" title="Patrick_0-1634955385467.png" alt="Patrick_0-1634955385467.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Oct 2021 02:16:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Why-I-can-t-use-function-hashing/m-p/775991#M246700</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2021-10-23T02:16:40Z</dc:date>
    </item>
  </channel>
</rss>

