<?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: Where condition in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Where-condition/m-p/399053#M96605</link>
    <description>&lt;P&gt;There is a reason why Maxim #1 (Read the documentation) is number one.&lt;/P&gt;
&lt;P&gt;From &lt;A href="http://documentation.sas.com/?docsetId=lrcon&amp;amp;docsetTarget=p0eaz2e63dlj17n1i5z17z3h84vp.htm&amp;amp;docsetVersion=9.4" target="_blank"&gt;http://documentation.sas.com/?docsetId=lrcon&amp;amp;docsetTarget=p0eaz2e63dlj17n1i5z17z3h84vp.htm&amp;amp;docsetVersion=9.4&lt;/A&gt;, section LIKE Operator:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="xis-term" style="box-sizing: border-box; margin-top: 0px; color: #333333; font-family: AvenirNext, Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;underscore (_)&lt;/DIV&gt;
&lt;DIV class="xis-definition" style="box-sizing: border-box; margin-left: 3em; margin-top: 0px; color: #333333; font-family: AvenirNext, Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;
&lt;DIV class="xis-paraSimpleFirst" style="box-sizing: border-box; margin-top: 0px;"&gt;matches just one character in the value for each underscore character.&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;so there must be exactly one character before the "i", and only Liu satisfies this.&lt;/P&gt;</description>
    <pubDate>Wed, 27 Sep 2017 07:27:50 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2017-09-27T07:27:50Z</dc:date>
    <item>
      <title>Where condition</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Where-condition/m-p/399045#M96599</link>
      <description>&lt;P&gt;Given the SAS data set EMPLOYEES:&lt;BR /&gt;EMPLOYEES&lt;BR /&gt;NAME SALARY&lt;BR /&gt;-------- ------------&lt;BR /&gt;Innis60000&lt;BR /&gt;Jolli50000&lt;BR /&gt;Ellis55000&lt;BR /&gt;Liu45000&lt;BR /&gt;The following SAS program is submitted:&lt;BR /&gt;proc print data = employees; where name like ‘_i%’;&lt;BR /&gt;run;&lt;BR /&gt;What is contained in the output?&lt;BR /&gt;A. Liu only&lt;BR /&gt;B. Innis and Ellis only&lt;BR /&gt;C. Innis, Ellis, and Liu only&lt;BR /&gt;D. Innis, Jolli, Ellis, and Liu&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why is the answer "A"??&lt;/P&gt;&lt;P&gt;I do not actually understand the condition name like '_i%'. Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2017 06:35:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Where-condition/m-p/399045#M96599</guid>
      <dc:creator>pchen002</dc:creator>
      <dc:date>2017-09-27T06:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: Where condition</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Where-condition/m-p/399053#M96605</link>
      <description>&lt;P&gt;There is a reason why Maxim #1 (Read the documentation) is number one.&lt;/P&gt;
&lt;P&gt;From &lt;A href="http://documentation.sas.com/?docsetId=lrcon&amp;amp;docsetTarget=p0eaz2e63dlj17n1i5z17z3h84vp.htm&amp;amp;docsetVersion=9.4" target="_blank"&gt;http://documentation.sas.com/?docsetId=lrcon&amp;amp;docsetTarget=p0eaz2e63dlj17n1i5z17z3h84vp.htm&amp;amp;docsetVersion=9.4&lt;/A&gt;, section LIKE Operator:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="xis-term" style="box-sizing: border-box; margin-top: 0px; color: #333333; font-family: AvenirNext, Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;underscore (_)&lt;/DIV&gt;
&lt;DIV class="xis-definition" style="box-sizing: border-box; margin-left: 3em; margin-top: 0px; color: #333333; font-family: AvenirNext, Helvetica, Arial, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial;"&gt;
&lt;DIV class="xis-paraSimpleFirst" style="box-sizing: border-box; margin-top: 0px;"&gt;matches just one character in the value for each underscore character.&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;so there must be exactly one character before the "i", and only Liu satisfies this.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2017 07:27:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Where-condition/m-p/399053#M96605</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-09-27T07:27:50Z</dc:date>
    </item>
  </channel>
</rss>

