<?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: unique id in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/unique-id/m-p/804120#M316624</link>
    <description>&lt;P&gt;Hi Andres,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://core.sasjs.io/mp__md5_8sas.html" target="_self"&gt;This macro&lt;/A&gt; can be used to take a hash of all the values.&amp;nbsp; It will work with high precision decimals, special missings, and very wide character variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's the same algorithm we use to diff uploads in &lt;A href="https://datacontroller.io" target="_self"&gt;Data Controller for SAS&lt;/A&gt;.&amp;nbsp; The ID will have a length of $32.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;A href="https://core.sasjs.io/mp__md5_8sas.html" target="_blank" rel="noopener"&gt;https://core.sasjs.io/mp__md5_8sas.html&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Allan&lt;/P&gt;</description>
    <pubDate>Fri, 25 Mar 2022 15:51:59 GMT</pubDate>
    <dc:creator>AllanBowe</dc:creator>
    <dc:date>2022-03-25T15:51:59Z</dc:date>
    <item>
      <title>unique id</title>
      <link>https://communities.sas.com/t5/SAS-Programming/unique-id/m-p/803894#M316559</link>
      <description>&lt;P&gt;&lt;SPAN&gt;dear, I hope you are very well, how can I create a unique id and&amp;nbsp; that is a combination of the entire row of a database?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 20:08:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/unique-id/m-p/803894#M316559</guid>
      <dc:creator>Andres_Fuentes1</dc:creator>
      <dc:date>2022-03-24T20:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: unique id</title>
      <link>https://communities.sas.com/t5/SAS-Programming/unique-id/m-p/803913#M316561</link>
      <description>&lt;P&gt;How many variables and of what types are they? Are any of the variables dates or times and do you need to see the date in that variable? Do any of the numeric variables have decimal portions and if so, how much to want to see?&lt;/P&gt;
&lt;P&gt;How many variables have missing values? How should the missing values appear in the result?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can &lt;STRONG&gt;try &lt;/STRONG&gt;something like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data want; 
   set have;
   length uniqueid $ 500; /*&amp;lt;= this number needs to be large enough to represent the maximum number of characters that might result*/
   uniqueid = cats(of _all_);
run;&lt;/PRE&gt;
&lt;P&gt;Though I won't be surprised if you don't like the result.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 21:47:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/unique-id/m-p/803913#M316561</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-03-24T21:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: unique id</title>
      <link>https://communities.sas.com/t5/SAS-Programming/unique-id/m-p/804120#M316624</link>
      <description>&lt;P&gt;Hi Andres,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://core.sasjs.io/mp__md5_8sas.html" target="_self"&gt;This macro&lt;/A&gt; can be used to take a hash of all the values.&amp;nbsp; It will work with high precision decimals, special missings, and very wide character variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's the same algorithm we use to diff uploads in &lt;A href="https://datacontroller.io" target="_self"&gt;Data Controller for SAS&lt;/A&gt;.&amp;nbsp; The ID will have a length of $32.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;A href="https://core.sasjs.io/mp__md5_8sas.html" target="_blank" rel="noopener"&gt;https://core.sasjs.io/mp__md5_8sas.html&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Allan&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2022 15:51:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/unique-id/m-p/804120#M316624</guid>
      <dc:creator>AllanBowe</dc:creator>
      <dc:date>2022-03-25T15:51:59Z</dc:date>
    </item>
  </channel>
</rss>

