<?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: How to select Observations which is not null or empty in SAS Enterprise Guide in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-select-Observations-which-is-not-null-or-empty-in-SAS/m-p/279618#M269730</link>
    <description>&lt;P&gt;Yes it will, for character variables.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For numeric you use&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;where variable ne .;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not Missing works for either character or numeric.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jun 2016 02:38:33 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2016-06-23T02:38:33Z</dc:date>
    <item>
      <title>How to select Observations which is not null or empty in SAS Enterprise Guide</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-select-Observations-which-is-not-null-or-empty-in-SAS/m-p/279584#M269727</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to SAS Enterprise Guid. How do I write the data clause as I only want the data set where particalar observations is not null or empty.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data mydataset;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; set orion.employee;&lt;/P&gt;&lt;P&gt;&amp;nbsp; where &amp;lt;employeeName is not empty or blank&amp;gt;?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc print data = mydataset;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I write empoyeeName is not empty? what is the syntaxt for not empty for blank in SAS langauge?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Nancy&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2016 22:59:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-select-Observations-which-is-not-null-or-empty-in-SAS/m-p/279584#M269727</guid>
      <dc:creator>Nancy05</dc:creator>
      <dc:date>2016-06-22T22:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to select Observations which is not null or empty in SAS Enterprise Guide</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-select-Observations-which-is-not-null-or-empty-in-SAS/m-p/279603#M269728</link>
      <description>&lt;P&gt;Where not missing(variable);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS treats null and blanks/missing the same in most cases.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2016 01:51:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-select-Observations-which-is-not-null-or-empty-in-SAS/m-p/279603#M269728</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-06-23T01:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to select Observations which is not null or empty in SAS Enterprise Guide</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-select-Observations-which-is-not-null-or-empty-in-SAS/m-p/279611#M269729</link>
      <description>&lt;P&gt;Hi Reeze,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Where not missing(variable); &lt;/PRE&gt;&lt;P&gt;does seems work; However,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Where variable ne ' ';&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you anyway!&lt;/P&gt;&lt;P&gt;Nancy&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2016 02:08:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-select-Observations-which-is-not-null-or-empty-in-SAS/m-p/279611#M269729</guid>
      <dc:creator>Nancy05</dc:creator>
      <dc:date>2016-06-23T02:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to select Observations which is not null or empty in SAS Enterprise Guide</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-select-Observations-which-is-not-null-or-empty-in-SAS/m-p/279618#M269730</link>
      <description>&lt;P&gt;Yes it will, for character variables.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For numeric you use&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;where variable ne .;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not Missing works for either character or numeric.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2016 02:38:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-select-Observations-which-is-not-null-or-empty-in-SAS/m-p/279618#M269730</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-06-23T02:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to select Observations which is not null or empty in SAS Enterprise Guide</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-select-Observations-which-is-not-null-or-empty-in-SAS/m-p/279630#M269731</link>
      <description>&lt;P&gt;How about Date type variable?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2016 03:18:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-select-Observations-which-is-not-null-or-empty-in-SAS/m-p/279630#M269731</guid>
      <dc:creator>Nancy05</dc:creator>
      <dc:date>2016-06-23T03:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to select Observations which is not null or empty in SAS Enterprise Guide</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-select-Observations-which-is-not-null-or-empty-in-SAS/m-p/279667#M269732</link>
      <description>&lt;P&gt;SAS only has two data types, numeric and character.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dates are numeric, with a date format applied.&lt;/P&gt;
&lt;P&gt;A date is the number of days from Jan 1, 1960&lt;/P&gt;
&lt;P&gt;A datetime is the number of seconds from Jan 1, 1960&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There can be more data types if you're using DS2 but I'm assuming that you're not. And they only exist within the DS2 step.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2016 06:54:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-select-Observations-which-is-not-null-or-empty-in-SAS/m-p/279667#M269732</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-06-23T06:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to select Observations which is not null or empty in SAS Enterprise Guide</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-select-Observations-which-is-not-null-or-empty-in-SAS/m-p/279894#M269733</link>
      <description>&lt;P&gt;Okay. Thank you for your reply!&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2016 03:24:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-select-Observations-which-is-not-null-or-empty-in-SAS/m-p/279894#M269733</guid>
      <dc:creator>Nancy05</dc:creator>
      <dc:date>2016-06-24T03:24:34Z</dc:date>
    </item>
  </channel>
</rss>

