<?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: Create Unique ID based on two variables in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Create-Unique-ID-based-on-two-variables/m-p/278642#M56067</link>
    <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;using &amp;nbsp;when-select statements, how can we define a new variable providing the country of each model based on the manufacturer.??&lt;/P&gt;&lt;P&gt;thanks ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Jun 2016 11:43:53 GMT</pubDate>
    <dc:creator>Prateek1</dc:creator>
    <dc:date>2016-06-20T11:43:53Z</dc:date>
    <item>
      <title>Create Unique ID based on two variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-Unique-ID-based-on-two-variables/m-p/278400#M56007</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;
&lt;P&gt;i just want to know that &amp;nbsp;how to create a Unique ID in the data set using two variables in the data set using TRIM and double pipe function ?&lt;/P&gt;
&lt;P&gt;please give me the code ?&lt;/P&gt;
&lt;P&gt;thanks&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sas_learner&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jun 2016 18:23:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-Unique-ID-based-on-two-variables/m-p/278400#M56007</guid>
      <dc:creator>Prateek1</dc:creator>
      <dc:date>2016-06-18T18:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: Create Unique ID based on two variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-Unique-ID-based-on-two-variables/m-p/278402#M56008</link>
      <description>&lt;P&gt;I'm confused, it sounds like you know what you want, are you having issues creating the variable?&lt;BR /&gt;If so, post the code you've used and are having issues with. I'm also uncertain as to what you mean by double pipe function.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is a double pipe that is used to represent concatenation, but in my opinion, the CAT family of functions are better, especially since they'll do things like trim by default (CATT).&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jun 2016 18:24:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-Unique-ID-based-on-two-variables/m-p/278402#M56008</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-06-18T18:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Create Unique ID based on two variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-Unique-ID-based-on-two-variables/m-p/278412#M56013</link>
      <description>&lt;P&gt;Find a character which doesn't occur in your vaiables, such as "@", and create your unique ID as&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;length uniqueID $20; /* To be adjusted */&lt;/P&gt;
&lt;P&gt;uniqueID = catx("@", var1, var2);&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jun 2016 20:34:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-Unique-ID-based-on-two-variables/m-p/278412#M56013</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2016-06-18T20:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: Create Unique ID based on two variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-Unique-ID-based-on-two-variables/m-p/278642#M56067</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;using &amp;nbsp;when-select statements, how can we define a new variable providing the country of each model based on the manufacturer.??&lt;/P&gt;&lt;P&gt;thanks ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2016 11:43:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-Unique-ID-based-on-two-variables/m-p/278642#M56067</guid>
      <dc:creator>Prateek1</dc:creator>
      <dc:date>2016-06-20T11:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: Create Unique ID based on two variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-Unique-ID-based-on-two-variables/m-p/278651#M56072</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/89805"&gt;@Prateek1﻿&lt;/a&gt;&amp;nbsp;Please post your question as a new topic.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2016 12:32:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-Unique-ID-based-on-two-variables/m-p/278651#M56072</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-06-20T12:32:24Z</dc:date>
    </item>
  </channel>
</rss>

