<?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: Hash Multiple Keys and Different Names in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Hash-Multiple-Keys-and-Different-Names/m-p/127002#M25879</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NO. But you can use Hiter object to achieve this, but it is low efficient .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Sep 2012 06:38:36 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2012-09-21T06:38:36Z</dc:date>
    <item>
      <title>Hash Multiple Keys and Different Names</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hash-Multiple-Keys-and-Different-Names/m-p/127001#M25878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I know that if I want to have multiple keys in a hash table I do the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hh.DefineKey('Key1', 'Key2');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also know that if my key in the dataset I'm matching the hash table to has a different name for the key I do the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hh.find(Key: DiffName);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I'm wondering is if you can combine the two?&amp;nbsp; Can you have a multiple key lookup and the names in the dataset you are matching to be different for both keys?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2012 03:50:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hash-Multiple-Keys-and-Different-Names/m-p/127001#M25878</guid>
      <dc:creator>railfan1975</dc:creator>
      <dc:date>2012-09-21T03:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Hash Multiple Keys and Different Names</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hash-Multiple-Keys-and-Different-Names/m-p/127002#M25879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NO. But you can use Hiter object to achieve this, but it is low efficient .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2012 06:38:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hash-Multiple-Keys-and-Different-Names/m-p/127002#M25879</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2012-09-21T06:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: Hash Multiple Keys and Different Names</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hash-Multiple-Keys-and-Different-Names/m-p/127003#M25880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, if you mean something like:&amp;nbsp; hh.find(Key: DiffName1, key:diffname2); Try it out, you will see.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Haikuo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2012 14:32:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hash-Multiple-Keys-and-Different-Names/m-p/127003#M25880</guid>
      <dc:creator>Haikuo</dc:creator>
      <dc:date>2012-09-21T14:32:02Z</dc:date>
    </item>
  </channel>
</rss>

