<?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: look up table in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/look-up-table/m-p/75993#M16397</link>
    <description>Actualy, if you just did:&lt;BR /&gt;
---------------------------------------&lt;BR /&gt;
sex_unknown + 1;&lt;BR /&gt;
-----------------------------------&lt;BR /&gt;
It would automatically be retained.</description>
    <pubDate>Thu, 15 Oct 2009 22:34:50 GMT</pubDate>
    <dc:creator>CurtisMack</dc:creator>
    <dc:date>2009-10-15T22:34:50Z</dc:date>
    <item>
      <title>look up table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/look-up-table/m-p/75991#M16395</link>
      <description>I've been researching and experimenting using a lookup table with variable definitions (e.g. datatype, length, in range values, recodes...) to count out of range and unknown values and to clean some large datasets.  I was hoping to be able to reference the look up table via an array using a macro program but I haven't been able to get it to work.  One problem is that I can't create and retain multiple variables used to store my counts (e.g. sex_unknown=sex_unknown+1).  I've also researched using hashes but I'm not very familiar with them.  I'm not necessarily looking for a solution for a specific problem as much as a point in the right direction.  What is the best way to use another table to instruct my code to collect the information described and to clean the data? &lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance for your help.</description>
      <pubDate>Thu, 15 Oct 2009 21:45:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/look-up-table/m-p/75991#M16395</guid>
      <dc:creator>RyanB</dc:creator>
      <dc:date>2009-10-15T21:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: look up table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/look-up-table/m-p/75992#M16396</link>
      <description>Are you familier with the RETAIN statement?  It would help you keep those counts.</description>
      <pubDate>Thu, 15 Oct 2009 22:01:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/look-up-table/m-p/75992#M16396</guid>
      <dc:creator>CurtisMack</dc:creator>
      <dc:date>2009-10-15T22:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: look up table</title>
      <link>https://communities.sas.com/t5/SAS-Programming/look-up-table/m-p/75993#M16397</link>
      <description>Actualy, if you just did:&lt;BR /&gt;
---------------------------------------&lt;BR /&gt;
sex_unknown + 1;&lt;BR /&gt;
-----------------------------------&lt;BR /&gt;
It would automatically be retained.</description>
      <pubDate>Thu, 15 Oct 2009 22:34:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/look-up-table/m-p/75993#M16397</guid>
      <dc:creator>CurtisMack</dc:creator>
      <dc:date>2009-10-15T22:34:50Z</dc:date>
    </item>
  </channel>
</rss>

