<?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 IF THEN OUTPUT - LIKE Statement in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/IF-THEN-OUTPUT-LIKE-Statement/m-p/943340#M45205</link>
    <description>&lt;P&gt;How do I use 'LIKE' or something similar to find anything that starts&lt;BR /&gt;with OCM ? Do I use a WHERE statement or something else?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;IF UPCASE(id_role) like 'OCM%'&lt;BR /&gt;THEN OUTPUT work.output_ocm;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Sep 2024 17:18:51 GMT</pubDate>
    <dc:creator>Deesee</dc:creator>
    <dc:date>2024-09-10T17:18:51Z</dc:date>
    <item>
      <title>IF THEN OUTPUT - LIKE Statement</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/IF-THEN-OUTPUT-LIKE-Statement/m-p/943340#M45205</link>
      <description>&lt;P&gt;How do I use 'LIKE' or something similar to find anything that starts&lt;BR /&gt;with OCM ? Do I use a WHERE statement or something else?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;IF UPCASE(id_role) like 'OCM%'&lt;BR /&gt;THEN OUTPUT work.output_ocm;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 17:18:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/IF-THEN-OUTPUT-LIKE-Statement/m-p/943340#M45205</guid>
      <dc:creator>Deesee</dc:creator>
      <dc:date>2024-09-10T17:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: IF THEN OUTPUT - LIKE Statement</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/IF-THEN-OUTPUT-LIKE-Statement/m-p/943345#M45206</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;IF UPCASE(id_role) =: 'OCM' then OUTPUT work.output_ocm;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note the colon after the equal sign ... equal followed by colon indicates "starts with" ... that you want to find records where UPCASE(ID_ROLE) starts with 'OCM'&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 18:19:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/IF-THEN-OUTPUT-LIKE-Statement/m-p/943345#M45206</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2024-09-10T18:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: IF THEN OUTPUT - LIKE Statement</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/IF-THEN-OUTPUT-LIKE-Statement/m-p/943366#M45207</link>
      <description>THANKS!</description>
      <pubDate>Tue, 10 Sep 2024 18:30:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/IF-THEN-OUTPUT-LIKE-Statement/m-p/943366#M45207</guid>
      <dc:creator>Deesee</dc:creator>
      <dc:date>2024-09-10T18:30:29Z</dc:date>
    </item>
  </channel>
</rss>

