<?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: How do I recursively read one table then search another table in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-recursively-read-one-table-then-search-another-table/m-p/624600#M20128</link>
    <description>&lt;P&gt;Thank you so much&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This works nicely&lt;/P&gt;&lt;P&gt;I need to go through it and figure out how it works but it gets the job done.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much.&lt;/P&gt;</description>
    <pubDate>Thu, 13 Feb 2020 19:15:13 GMT</pubDate>
    <dc:creator>FormerSQLuser</dc:creator>
    <dc:date>2020-02-13T19:15:13Z</dc:date>
    <item>
      <title>How do I recursively read one table then search another table</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-recursively-read-one-table-then-search-another-table/m-p/624542#M20117</link>
      <description>&lt;P&gt;Hi Everyone&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm quite new to SAS - I've been a SQL user most of my life and only trying SAS out now.&lt;/P&gt;&lt;P&gt;Excuse my ignorance on some of the questions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 1 table (Table1)in SAS that has 1 distinct variable with around 1000 observations (each observation is a single word) and I have another table (Table2) that has a 1 string variable which is not distinct (with around 10 million observations).&lt;/P&gt;&lt;P&gt;I would like to take EACH of the 1000 obs in Table1 and recursively search for them in strings in Table2 then save them in Table3 when its a match.&lt;/P&gt;&lt;P&gt;example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;&lt;U&gt;&lt;EM&gt;Table1&lt;/EM&gt;&lt;/U&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;These&lt;/P&gt;&lt;P&gt;Are&lt;/P&gt;&lt;P&gt;the&lt;/P&gt;&lt;P&gt;Words&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;strings&lt;/P&gt;&lt;P&gt;that&lt;/P&gt;&lt;P&gt;might&lt;/P&gt;&lt;P&gt;appear&lt;/P&gt;&lt;P&gt;in&lt;/P&gt;&lt;P&gt;table1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;U&gt;&lt;EM&gt;&lt;STRONG&gt;Table2&lt;/STRONG&gt;&lt;/EM&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;this variable may contain distinct&amp;nbsp;&lt;STRONG&gt;strings&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;but may also have &lt;STRONG&gt;words&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;that&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;are&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;duplicated a number of times &lt;STRONG&gt;in&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table1&amp;nbsp;&lt;/STRONG&gt;so regardless&lt;/P&gt;&lt;P&gt;of &lt;STRONG&gt;that&lt;/STRONG&gt; I need&lt;/P&gt;&lt;P&gt;to use all &lt;STRONG&gt;the&lt;/STRONG&gt; help&amp;nbsp;&lt;/P&gt;&lt;P&gt;I &lt;STRONG&gt;might&lt;/STRONG&gt; get from you&lt;/P&gt;&lt;P&gt;to help me find &lt;STRONG&gt;the &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;words&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Please help &lt;STRONG&gt;in&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;any way &lt;STRONG&gt;that&lt;/STRONG&gt; you&amp;nbsp;&lt;/P&gt;&lt;P&gt;can help me with &lt;STRONG&gt;these&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I thank you for any help you &lt;STRONG&gt;might&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;give to find var from &lt;STRONG&gt;table1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So in the above Table1 - i want to pick up each word then search for it in table2.&lt;/P&gt;&lt;P&gt;Where it is found, I'd like to have output like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;U&gt;&lt;EM&gt;&lt;STRONG&gt;Table3&lt;/STRONG&gt;&lt;/EM&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Table1Var&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Table2String&lt;/P&gt;&lt;P&gt;These&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;can help me with &lt;STRONG&gt;these&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Are&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; are&lt;/P&gt;&lt;P&gt;The&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;to use all &lt;STRONG&gt;the&lt;/STRONG&gt; help&amp;nbsp;&lt;/P&gt;&lt;P&gt;The&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;to help me find &lt;STRONG&gt;the&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;words&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;but may also have &lt;STRONG&gt;words&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;words&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;words&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;and&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.&lt;/P&gt;&lt;P&gt;strings&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;this variable may contain distinct&amp;nbsp;&lt;STRONG&gt;strings&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;That&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; that&lt;/P&gt;&lt;P&gt;That&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; of &lt;STRONG&gt;that&lt;/STRONG&gt; I need&lt;/P&gt;&lt;P&gt;Might&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I &lt;STRONG&gt;might&lt;/STRONG&gt; get from you&lt;/P&gt;&lt;P&gt;Might&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I thank you for any help you &lt;STRONG&gt;might&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Appear&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&lt;/P&gt;&lt;P&gt;in&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;duplicated a number of times &lt;STRONG&gt;in&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;in&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Please help&amp;nbsp;&lt;STRONG&gt;in&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Table1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;STRONG&gt;Table1&amp;nbsp;&lt;/STRONG&gt;so regardless&lt;/P&gt;&lt;P&gt;Table1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;give to find var from &lt;STRONG&gt;table1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope the above makes sense.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2020 17:41:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-recursively-read-one-table-then-search-another-table/m-p/624542#M20117</guid>
      <dc:creator>FormerSQLuser</dc:creator>
      <dc:date>2020-02-13T17:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: How do I recursively read one table then search another table</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-recursively-read-one-table-then-search-another-table/m-p/624569#M20123</link>
      <description>&lt;P&gt;Would it help you to know that SAS supports a Proc SQL that implements ANSI standard sql?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2020 18:30:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-recursively-read-one-table-then-search-another-table/m-p/624569#M20123</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-02-13T18:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: How do I recursively read one table then search another table</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-recursively-read-one-table-then-search-another-table/m-p/624577#M20124</link>
      <description>&lt;P&gt;Temporary arrays are a great option here. Table1 doesn't seem to work but I'll leave that one for you to debug.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
data t1;
input word_to_find $;
cards;
These
Are
the
Words
and
strings
that
might
appear
in
table1
;;;;

 

 

data t2;
length long_string $50.;
infile cards dlm='09'x;
input long_string $;
cards;
this variable may contain distinct strings
but may also have words
that
are 
duplicated a number of times in 
Table1 so regardless
of that I need
to use all the help 
I might get from you
to help me find the
words 
Please help in 
any way that you 
can help me with these
I thank you for any help you might 
give to find var from table1
;;;;
run;



data want;
array words2find(10) $50. _temporary_ ;
if _n_ = 1 then do j=1 to 10;
set t1;
words2find(j) = word_to_find;
end;

set t2;
do i=1 to dim(words2find);
if indexw(trim(lowcase(long_string)), trim(lowcase(words2find(i))), '') then found_word = words2find(i);
end;

run;





&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/312027"&gt;@FormerSQLuser&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi Everyone&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm quite new to SAS - I've been a SQL user most of my life and only trying SAS out now.&lt;/P&gt;
&lt;P&gt;Excuse my ignorance on some of the questions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have 1 table (Table1)in SAS that has 1 distinct variable with around 1000 observations (each observation is a single word) and I have another table (Table2) that has a 1 string variable which is not distinct (with around 10 million observations).&lt;/P&gt;
&lt;P&gt;I would like to take EACH of the 1000 obs in Table1 and recursively search for them in strings in Table2 then save them in Table3 when its a match.&lt;/P&gt;
&lt;P&gt;example:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;&lt;U&gt;&lt;EM&gt;Table1&lt;/EM&gt;&lt;/U&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;These&lt;/P&gt;
&lt;P&gt;Are&lt;/P&gt;
&lt;P&gt;the&lt;/P&gt;
&lt;P&gt;Words&lt;/P&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;P&gt;strings&lt;/P&gt;
&lt;P&gt;that&lt;/P&gt;
&lt;P&gt;might&lt;/P&gt;
&lt;P&gt;appear&lt;/P&gt;
&lt;P&gt;in&lt;/P&gt;
&lt;P&gt;table1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;U&gt;&lt;EM&gt;&lt;STRONG&gt;Table2&lt;/STRONG&gt;&lt;/EM&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;this variable may contain distinct&amp;nbsp;&lt;STRONG&gt;strings&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;but may also have &lt;STRONG&gt;words&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;that&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;are&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;duplicated a number of times &lt;STRONG&gt;in&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Table1&amp;nbsp;&lt;/STRONG&gt;so regardless&lt;/P&gt;
&lt;P&gt;of &lt;STRONG&gt;that&lt;/STRONG&gt; I need&lt;/P&gt;
&lt;P&gt;to use all &lt;STRONG&gt;the&lt;/STRONG&gt; help&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I &lt;STRONG&gt;might&lt;/STRONG&gt; get from you&lt;/P&gt;
&lt;P&gt;to help me find &lt;STRONG&gt;the &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;words&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Please help &lt;STRONG&gt;in&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;any way &lt;STRONG&gt;that&lt;/STRONG&gt; you&amp;nbsp;&lt;/P&gt;
&lt;P&gt;can help me with &lt;STRONG&gt;these&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I thank you for any help you &lt;STRONG&gt;might&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;give to find var from &lt;STRONG&gt;table1&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So in the above Table1 - i want to pick up each word then search for it in table2.&lt;/P&gt;
&lt;P&gt;Where it is found, I'd like to have output like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;U&gt;&lt;EM&gt;&lt;STRONG&gt;Table3&lt;/STRONG&gt;&lt;/EM&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Table1Var&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Table2String&lt;/P&gt;
&lt;P&gt;These&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;can help me with &lt;STRONG&gt;these&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Are&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; are&lt;/P&gt;
&lt;P&gt;The&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;to use all &lt;STRONG&gt;the&lt;/STRONG&gt; help&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;to help me find &lt;STRONG&gt;the&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;words&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;but may also have &lt;STRONG&gt;words&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;words&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;words&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;and&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;.&lt;/P&gt;
&lt;P&gt;strings&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;this variable may contain distinct&amp;nbsp;&lt;STRONG&gt;strings&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;That&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; that&lt;/P&gt;
&lt;P&gt;That&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; of &lt;STRONG&gt;that&lt;/STRONG&gt; I need&lt;/P&gt;
&lt;P&gt;Might&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I &lt;STRONG&gt;might&lt;/STRONG&gt; get from you&lt;/P&gt;
&lt;P&gt;Might&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I thank you for any help you &lt;STRONG&gt;might&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Appear&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&lt;/P&gt;
&lt;P&gt;in&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;duplicated a number of times &lt;STRONG&gt;in&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;in&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Please help&amp;nbsp;&lt;STRONG&gt;in&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Table1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;STRONG&gt;Table1&amp;nbsp;&lt;/STRONG&gt;so regardless&lt;/P&gt;
&lt;P&gt;Table1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;give to find var from &lt;STRONG&gt;table1&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope the above makes sense.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2020 18:40:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-recursively-read-one-table-then-search-another-table/m-p/624577#M20124</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-02-13T18:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: How do I recursively read one table then search another table</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-recursively-read-one-table-then-search-another-table/m-p/624591#M20126</link>
      <description>&lt;P&gt;Yep, that helps quite a bit.&lt;/P&gt;&lt;P&gt;So all I need is a quick SQL cursor then I'm good.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2020 18:59:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-recursively-read-one-table-then-search-another-table/m-p/624591#M20126</guid>
      <dc:creator>FormerSQLuser</dc:creator>
      <dc:date>2020-02-13T18:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: How do I recursively read one table then search another table</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-recursively-read-one-table-then-search-another-table/m-p/624594#M20127</link>
      <description>SAS doesn't support cursors.</description>
      <pubDate>Thu, 13 Feb 2020 19:00:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-recursively-read-one-table-then-search-another-table/m-p/624594#M20127</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-02-13T19:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do I recursively read one table then search another table</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-recursively-read-one-table-then-search-another-table/m-p/624600#M20128</link>
      <description>&lt;P&gt;Thank you so much&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This works nicely&lt;/P&gt;&lt;P&gt;I need to go through it and figure out how it works but it gets the job done.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2020 19:15:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-recursively-read-one-table-then-search-another-table/m-p/624600#M20128</guid>
      <dc:creator>FormerSQLuser</dc:creator>
      <dc:date>2020-02-13T19:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: How do I recursively read one table then search another table</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-recursively-read-one-table-then-search-another-table/m-p/624603#M20129</link>
      <description>&lt;P&gt;Not sure how a cursor helps with this.&lt;/P&gt;
&lt;P&gt;It is just a join between two tables.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;select a.word,b.string
from table1 a
   , table2 b
where b.string contains a.word
;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You can play around with what test you want to use in the WHERE clause.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2020 19:23:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-recursively-read-one-table-then-search-another-table/m-p/624603#M20129</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-02-13T19:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do I recursively read one table then search another table</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-recursively-read-one-table-then-search-another-table/m-p/624637#M20142</link>
      <description>&lt;P&gt;Hahaha&lt;/P&gt;&lt;P&gt;Thank you Tom&lt;/P&gt;&lt;P&gt;So simple...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ta!&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2020 20:29:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-recursively-read-one-table-then-search-another-table/m-p/624637#M20142</guid>
      <dc:creator>FormerSQLuser</dc:creator>
      <dc:date>2020-02-13T20:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: How do I recursively read one table then search another table</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-recursively-read-one-table-then-search-another-table/m-p/624644#M20145</link>
      <description>Make sure to factor in case and spaces.</description>
      <pubDate>Thu, 13 Feb 2020 20:43:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-recursively-read-one-table-then-search-another-table/m-p/624644#M20145</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-02-13T20:43:51Z</dc:date>
    </item>
  </channel>
</rss>

