<?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 Delete rows with missing value with where statement in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Delete-rows-with-missing-value-with-where-statement/m-p/410668#M100349</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm a SAS newbie and I'd like to delete rows with at least one missing value with the WHERE statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data example2;
set example1;
where _ALL_ is not missing;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I receive this error :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Variable _all_ is not on file work.example1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know there are different ways to achieve my goal but I'd like to try it with WHERE and _ALL_.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you !&lt;/P&gt;</description>
    <pubDate>Sun, 05 Nov 2017 13:58:05 GMT</pubDate>
    <dc:creator>afazfaz</dc:creator>
    <dc:date>2017-11-05T13:58:05Z</dc:date>
    <item>
      <title>Delete rows with missing value with where statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Delete-rows-with-missing-value-with-where-statement/m-p/410668#M100349</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm a SAS newbie and I'd like to delete rows with at least one missing value with the WHERE statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data example2;
set example1;
where _ALL_ is not missing;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I receive this error :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Variable _all_ is not on file work.example1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know there are different ways to achieve my goal but I'd like to try it with WHERE and _ALL_.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you !&lt;/P&gt;</description>
      <pubDate>Sun, 05 Nov 2017 13:58:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Delete-rows-with-missing-value-with-where-statement/m-p/410668#M100349</guid>
      <dc:creator>afazfaz</dc:creator>
      <dc:date>2017-11-05T13:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: Delete rows with missing value with where statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Delete-rows-with-missing-value-with-where-statement/m-p/410689#M100351</link>
      <description>&lt;P&gt;WHERE is not compatible with using variable lists such as _ALL_.&amp;nbsp; Time to try something else.&lt;/P&gt;</description>
      <pubDate>Sun, 05 Nov 2017 17:56:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Delete-rows-with-missing-value-with-where-statement/m-p/410689#M100351</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2017-11-05T17:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Delete rows with missing value with where statement</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Delete-rows-with-missing-value-with-where-statement/m-p/410824#M100399</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data class;
 set sashelp.class;
 if cmiss(of _all_) then delete;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 06 Nov 2017 13:13:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Delete-rows-with-missing-value-with-where-statement/m-p/410824#M100399</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2017-11-06T13:13:56Z</dc:date>
    </item>
  </channel>
</rss>

