<?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: Identifying records having specific word with alteration in 1-2 characters spelling in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Identifying-records-having-specific-word-with-alteration-in-1-2/m-p/278059#M55914</link>
    <description>&lt;P&gt;Sorry. I can't see any code. Could you post it as a new topic and &amp;nbsp;Let more people see this topic ?&lt;/P&gt;</description>
    <pubDate>Fri, 17 Jun 2016 00:53:39 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2016-06-17T00:53:39Z</dc:date>
    <item>
      <title>Identifying records having specific word with alteration in 1-2 characters spelling</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Identifying-records-having-specific-word-with-alteration-in-1-2/m-p/276541#M55413</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I am trying to identify records having a specific word as part of the record. There may be spelling error with alteration in 1-2 characters. A sample dataset is attached for your kind cosnideration. I am trying to flag records having the word "DUODENUM" as well as "DUODENAL" and "DUODENOL". Can somebody help me with this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance for your kind support.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 16:29:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Identifying-records-having-specific-word-with-alteration-in-1-2/m-p/276541#M55413</guid>
      <dc:creator>DeepakSwain</dc:creator>
      <dc:date>2016-06-10T16:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying records having specific word with alteration in 1-2 characters spelling</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Identifying-records-having-specific-word-with-alteration-in-1-2/m-p/276549#M55417</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Short of using SOUNDEX (a really horrible approximation of matching words on how they sound) I think this is good case for the SAS Data Managment Advanced suite. The matching capabilities of the (formerly known as) Dataflux data quality products are very advanced and wil be your best bet to solve this.&amp;nbsp; And yes, if you do not have licenced it yet you will have to part with a bit of cash. But that *should* be oke if the benefits outweigh the cost.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;- Jan.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 16:43:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Identifying-records-having-specific-word-with-alteration-in-1-2/m-p/276549#M55417</guid>
      <dc:creator>jklaverstijn</dc:creator>
      <dc:date>2016-06-10T16:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying records having specific word with alteration in 1-2 characters spelling</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Identifying-records-having-specific-word-with-alteration-in-1-2/m-p/276595#M55430</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;In order to identify the records&amp;nbsp;having specific word with alteration in 1-2 characters spelling, I used spedis function but I realized that it taking into consideration of the whole statement and the word itself. So I don't know how to apply the matching crieria for alteration in 1-2 characters in the word itself. Sas code used:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test1;
set test;
if find(report, 'DUODENUM')  then value1=spedis(report, 'DUODENUM');
if value1 ne .;
run;

proc sort data =test1(obs=1) out =test2 ; by value1 ;run;


proc sql;
create table test3 as 
select id,report,  (select value1 from test2) as value1, spedis(report, 'DUODENUM') as value2
from test 
where (calculated value2 -  calculated value1) le 2 ;
quit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thank you in advance for your kind reply.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 19:10:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Identifying-records-having-specific-word-with-alteration-in-1-2/m-p/276595#M55430</guid>
      <dc:creator>DeepakSwain</dc:creator>
      <dc:date>2016-06-10T19:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying records having specific word with alteration in 1-2 characters spelling</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Identifying-records-having-specific-word-with-alteration-in-1-2/m-p/276647#M55455</link>
      <description>&lt;PRE&gt;
Maybe you could try this:


proc sql;
create table test3 as 
select value1, value2
from test as a, test as b
where value1 =* value2 ;
quit;

&lt;/PRE&gt;</description>
      <pubDate>Sat, 11 Jun 2016 03:50:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Identifying-records-having-specific-word-with-alteration-in-1-2/m-p/276647#M55455</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-06-11T03:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying records having specific word with alteration in 1-2 characters spelling</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Identifying-records-having-specific-word-with-alteration-in-1-2/m-p/277873#M55861</link>
      <description>&lt;P&gt;Hi Ksharp,&lt;/P&gt;&lt;P&gt;Can you kindly guide me further as the code given below could not help me to get the expected result.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2016 12:25:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Identifying-records-having-specific-word-with-alteration-in-1-2/m-p/277873#M55861</guid>
      <dc:creator>DeepakSwain</dc:creator>
      <dc:date>2016-06-16T12:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: Identifying records having specific word with alteration in 1-2 characters spelling</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Identifying-records-having-specific-word-with-alteration-in-1-2/m-p/278059#M55914</link>
      <description>&lt;P&gt;Sorry. I can't see any code. Could you post it as a new topic and &amp;nbsp;Let more people see this topic ?&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2016 00:53:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Identifying-records-having-specific-word-with-alteration-in-1-2/m-p/278059#M55914</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-06-17T00:53:39Z</dc:date>
    </item>
  </channel>
</rss>

