<?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: Dataset has has 0 observations... in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Dataset-has-has-0-observations/m-p/711580#M26952</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;if Home_State = 'ohio';&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If home_state is actually "Ohio", this condition will not catch it. The spelling must match exactly.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc print data=OhioPresidents;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Note the necessary =.&lt;/P&gt;</description>
    <pubDate>Thu, 14 Jan 2021 23:32:23 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2021-01-14T23:32:23Z</dc:date>
    <item>
      <title>Dataset has has 0 observations...</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Dataset-has-has-0-observations/m-p/711579#M26951</link>
      <description>&lt;P&gt;Hi All! Looking for some assistance as a new SAS Studio user. I am attempting to run a conditional if statement to print only the presidents from Ohio based on the 'Home_State' variable. However, it comes back with zero observations. Below I have included the code I used and log.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data OhioPresidents;
	SET MINE.USPRESIDENT;
	
	if Home_State = 'ohio';
	Keep President Wikipedia_Entry Took_Office Left_Office Party Portrait Thumbnail Home_State;
run;
proc print data OhioPresidents;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mlblac5_0-1610666326426.png" style="width: 491px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/53525iC7407667A08749E0/image-dimensions/491x441?v=v2" width="491" height="441" role="button" title="mlblac5_0-1610666326426.png" alt="mlblac5_0-1610666326426.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2021 23:19:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Dataset-has-has-0-observations/m-p/711579#M26951</guid>
      <dc:creator>mlblac5</dc:creator>
      <dc:date>2021-01-14T23:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: Dataset has has 0 observations...</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Dataset-has-has-0-observations/m-p/711580#M26952</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;if Home_State = 'ohio';&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If home_state is actually "Ohio", this condition will not catch it. The spelling must match exactly.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc print data=OhioPresidents;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Note the necessary =.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2021 23:32:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Dataset-has-has-0-observations/m-p/711580#M26952</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-01-14T23:32:23Z</dc:date>
    </item>
  </channel>
</rss>

