<?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: Table lookup in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Table-lookup/m-p/569601#M160540</link>
    <description>&lt;P&gt;I can supply you with partial data that resembles the real data,&lt;/P&gt;&lt;P&gt;Please see both attachments.&lt;/P&gt;</description>
    <pubDate>Thu, 27 Jun 2019 19:31:44 GMT</pubDate>
    <dc:creator>mauri0623</dc:creator>
    <dc:date>2019-06-27T19:31:44Z</dc:date>
    <item>
      <title>Table lookup</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Table-lookup/m-p/569582#M160537</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the followings,&lt;/P&gt;&lt;P&gt;I have one table with 4 variables each, the first table has the variable names as alc, accounting, odn, and tas and the other has these variables as prj_num, loa, task, and tas. I want to do a table lookup where,&lt;/P&gt;&lt;P&gt;alc=prjnum and&lt;/P&gt;&lt;P&gt;accounting = loa and&lt;/P&gt;&lt;P&gt;tas = tas and&lt;/P&gt;&lt;P&gt;odn =task if they are the same I then need to place them in a data set called match, If however,&lt;/P&gt;&lt;P&gt;alc=prjnum and&lt;/P&gt;&lt;P&gt;accounting = loa and&lt;/P&gt;&lt;P&gt;tas = tas and&lt;/P&gt;&lt;P&gt;task is missing I want to place them in a data set called dai.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please your help is professional accepted and much appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mauri&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 18:39:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Table-lookup/m-p/569582#M160537</guid>
      <dc:creator>mauri0623</dc:creator>
      <dc:date>2019-06-27T18:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: Table lookup</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Table-lookup/m-p/569584#M160538</link>
      <description>&lt;P&gt;Can you provide a small example of what your data looks like? Makes it much easier to provide a usable code answer.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 18:40:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Table-lookup/m-p/569584#M160538</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2019-06-27T18:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: Table lookup</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Table-lookup/m-p/569585#M160539</link>
      <description>Use a LEFT JOIN or MERGE to join the main table to the look up table. &lt;BR /&gt;Split it out afterwards using a data step to split it to different data sets.</description>
      <pubDate>Thu, 27 Jun 2019 18:42:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Table-lookup/m-p/569585#M160539</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-06-27T18:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: Table lookup</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Table-lookup/m-p/569601#M160540</link>
      <description>&lt;P&gt;I can supply you with partial data that resembles the real data,&lt;/P&gt;&lt;P&gt;Please see both attachments.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 19:31:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Table-lookup/m-p/569601#M160540</guid>
      <dc:creator>mauri0623</dc:creator>
      <dc:date>2019-06-27T19:31:44Z</dc:date>
    </item>
  </channel>
</rss>

