<?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 Hey everyone !!! I don't understand this topic can anyone explain this plzzzz!!!! in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Hey-everyone-I-don-t-understand-this-topic-can-anyone-explain/m-p/920766#M362649</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChrisHemedinger_0-1710783471293.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/94734i37AAE3107E90701C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ChrisHemedinger_0-1710783471293.png" alt="ChrisHemedinger_0-1710783471293.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Mar 2024 17:38:02 GMT</pubDate>
    <dc:creator>Bhagyalakshmi</dc:creator>
    <dc:date>2024-03-18T17:38:02Z</dc:date>
    <item>
      <title>Hey everyone !!! I don't understand this topic can anyone explain this plzzzz!!!!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hey-everyone-I-don-t-understand-this-topic-can-anyone-explain/m-p/920766#M362649</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChrisHemedinger_0-1710783471293.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/94734i37AAE3107E90701C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ChrisHemedinger_0-1710783471293.png" alt="ChrisHemedinger_0-1710783471293.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2024 17:38:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hey-everyone-I-don-t-understand-this-topic-can-anyone-explain/m-p/920766#M362649</guid>
      <dc:creator>Bhagyalakshmi</dc:creator>
      <dc:date>2024-03-18T17:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Hey everyone !!! I don't understand this topic can anyone explain this plzzzz!!!!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hey-everyone-I-don-t-understand-this-topic-can-anyone-explain/m-p/920786#M362655</link>
      <description>&lt;P&gt;The OR in code like&lt;/P&gt;
&lt;PRE&gt; where name='Alfred' or 'John';&lt;/PRE&gt;
&lt;P&gt;does not apply the Name='John' condition to the where clause.&lt;/P&gt;
&lt;P&gt;In effect it becomes the logical equivalent of&lt;/P&gt;
&lt;PRE&gt;where 'John';&lt;/PRE&gt;
&lt;P&gt;because there is no variable value compared. So the literal value of 'John' is always true since there is no comparison to a value in the data set. So all records are selected.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note: you can test such yourself. You should have the&amp;nbsp; SASHELP.CLASS set available in your installation.&lt;/P&gt;
&lt;PRE&gt;data junk;
   set sashelp.class;
   where name='Alfred' or 'John';
run;&lt;/PRE&gt;
&lt;P&gt;The clue is in the LOG:&lt;/P&gt;
&lt;PRE&gt;2713  data junk;
2714     set sashelp.class;
2715     where name='Alfred' or 'John';
2716  run;

NOTE: There were 19 observations read from the data set SASHELP.CLASS.
      WHERE 1 /* an obviously TRUE WHERE clause */ ;
NOTE: The data set USER.JUNK has 19 observations and 5 variables.

&lt;/PRE&gt;
&lt;P&gt;See the note with the "obviously true where clause". That tells you that whatever condition was applied is always true.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You would have been better off posting the PICTURE using the paste image icon, the camera, that appears above the message window instead of attaching a document if at all possible.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2024 16:40:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hey-everyone-I-don-t-understand-this-topic-can-anyone-explain/m-p/920786#M362655</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2024-03-18T16:40:07Z</dc:date>
    </item>
    <item>
      <title>Better title needed</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Hey-everyone-I-don-t-understand-this-topic-can-anyone-explain/m-p/920800#M362658</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/446959"&gt;@Bhagyalakshmi&lt;/a&gt;&amp;nbsp;please go back to you original post and provide a meaningful title that describes the SAS problem you are trying to understand, rather than a title that talks about how confused you are. Also, please keep this in mind as you create titles for future posts.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2024 18:08:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Hey-everyone-I-don-t-understand-this-topic-can-anyone-explain/m-p/920800#M362658</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2024-03-18T18:08:58Z</dc:date>
    </item>
  </channel>
</rss>

