<?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: Pattern Matching with multiple values in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Pattern-Matching-with-multiple-values/m-p/648917#M194483</link>
    <description>&lt;P&gt;Please be very specific on your matching requirements.&lt;/P&gt;
&lt;P&gt;Drugs are one area where wildcards may be a poor choice because of compound names where some names are part of several others and to some extent the composition&amp;nbsp; (liquid for injection or pills for example).&lt;/P&gt;</description>
    <pubDate>Tue, 19 May 2020 16:43:07 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2020-05-19T16:43:07Z</dc:date>
    <item>
      <title>Pattern Matching with multiple values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Pattern-Matching-with-multiple-values/m-p/648896#M194474</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would need your help on the issue:&lt;/P&gt;&lt;P&gt;I have a dataset with 1000 drug names and I want to pattern match those drug names with the main Pharmacy Data set so that I can only get data for the drugs I have. Hard coding 1000 values is not an option here, so i'm looking for a dynamic solution.&lt;/P&gt;&lt;P&gt;Both the tables have Generic Name column and I want to pattern match on these two. I want to use wildcard operator.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could someone please help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 16:07:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Pattern-Matching-with-multiple-values/m-p/648896#M194474</guid>
      <dc:creator>Amit_91</dc:creator>
      <dc:date>2020-05-19T16:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: Pattern Matching with multiple values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Pattern-Matching-with-multiple-values/m-p/648903#M194476</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/78240"&gt;@Amit_91&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please supply some datalines in a usable form (data step) to play with and provide you with a useful solution?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 16:17:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Pattern-Matching-with-multiple-values/m-p/648903#M194476</guid>
      <dc:creator>ed_sas_member</dc:creator>
      <dc:date>2020-05-19T16:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Pattern Matching with multiple values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Pattern-Matching-with-multiple-values/m-p/648917#M194483</link>
      <description>&lt;P&gt;Please be very specific on your matching requirements.&lt;/P&gt;
&lt;P&gt;Drugs are one area where wildcards may be a poor choice because of compound names where some names are part of several others and to some extent the composition&amp;nbsp; (liquid for injection or pills for example).&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 16:43:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Pattern-Matching-with-multiple-values/m-p/648917#M194483</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-05-19T16:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Pattern Matching with multiple values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Pattern-Matching-with-multiple-values/m-p/648920#M194486</link>
      <description>&lt;P&gt;data drugs;&lt;BR /&gt;infile datalines dlm='+';&lt;BR /&gt;length generic_name $ 50;&lt;BR /&gt;input generic_name $ ;&lt;BR /&gt;datalines;&lt;BR /&gt;CERTOLIZUMAB&lt;BR /&gt;GOLIMUMAB&lt;BR /&gt;ABATACEPT&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;Above are only 3 drugs but i might have 1000 drugs. And i want to match these drugs with the main pharmacy table using wildcard.&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 16:58:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Pattern-Matching-with-multiple-values/m-p/648920#M194486</guid>
      <dc:creator>Amit_91</dc:creator>
      <dc:date>2020-05-19T16:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: Pattern Matching with multiple values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Pattern-Matching-with-multiple-values/m-p/648922#M194487</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to check only oral tablets. And I want to match the drugs in my table from the main Pharmacy data set using wildcard.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 17:00:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Pattern-Matching-with-multiple-values/m-p/648922#M194487</guid>
      <dc:creator>Amit_91</dc:creator>
      <dc:date>2020-05-19T17:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: Pattern Matching with multiple values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Pattern-Matching-with-multiple-values/m-p/648980#M194507</link>
      <description>This is good but only a beginning. Can you give us similarly what is in the main pharmacy table and what you look to match? People work across a number of industries and every industry data is different. If we can't see your problem, how can we write any code to solve it? You will need to provide:&lt;BR /&gt;&lt;BR /&gt;1. Code to generate Drugs dataset (you have provided)&lt;BR /&gt;2. Code to generate Pharmacy dataset&lt;BR /&gt;3. Resulting dataset</description>
      <pubDate>Tue, 19 May 2020 19:04:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Pattern-Matching-with-multiple-values/m-p/648980#M194507</guid>
      <dc:creator>biopharma</dc:creator>
      <dc:date>2020-05-19T19:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: Pattern Matching with multiple values</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Pattern-Matching-with-multiple-values/m-p/648985#M194509</link>
      <description>&lt;P&gt;Could you please give an example where you are using a wildcard.&amp;nbsp; &amp;nbsp;The names you give as examples do not contain wildcards!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe you should consider using the COMPGED function.&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 19:11:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Pattern-Matching-with-multiple-values/m-p/648985#M194509</guid>
      <dc:creator>DavePrinsloo</dc:creator>
      <dc:date>2020-05-19T19:11:47Z</dc:date>
    </item>
  </channel>
</rss>

