<?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 Removing the missing observations from the dataset in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Removing-the-missing-observations-from-the-dataset/m-p/896924#M354432</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I have a dataset which has missing address information. I want to remove all the accounts which are missing the address column. Can you please suggest the best way to do it?&lt;/P&gt;
&lt;P&gt;I want the output data to remove all the ACCNO where the&amp;nbsp;ADD1, ADD2, ADD3, ADD4 and PCODE are missing. So in this case from the below table only two rows should be available which has the address information.&lt;/P&gt;
&lt;P&gt;Here is a sample dataset.&lt;/P&gt;
&lt;P&gt;Data Blank_rows; &lt;BR /&gt;infile cards expandtabs;&lt;BR /&gt;input ACCNO TITLE $ FORENAME $ SURNAME $ ADD1 $ ADD2 $ ADD3 $ ADD4 $ PCODE;&lt;BR /&gt;datalines ; &lt;BR /&gt;2056673 Mr Michael Davis 5StationRoad . HOLSWORTHY Devon 24&lt;BR /&gt;2054394 Mrs TarisaM Karo . . . . .&lt;BR /&gt;2060648 Mr Jonathan Cannell . . . . .&lt;BR /&gt;2072589 Mr Chris Stirk 119HighthornRoad York . . 2456&lt;BR /&gt;2063169 Mr Barry Rudd . . . . .&lt;BR /&gt;2061769 Mr Jonathan Park . . . . .&lt;BR /&gt;2061126 Mr Craig McClurrey . . . . .&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;</description>
    <pubDate>Tue, 03 Oct 2023 12:25:04 GMT</pubDate>
    <dc:creator>Sandeep77</dc:creator>
    <dc:date>2023-10-03T12:25:04Z</dc:date>
    <item>
      <title>Removing the missing observations from the dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Removing-the-missing-observations-from-the-dataset/m-p/896924#M354432</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I have a dataset which has missing address information. I want to remove all the accounts which are missing the address column. Can you please suggest the best way to do it?&lt;/P&gt;
&lt;P&gt;I want the output data to remove all the ACCNO where the&amp;nbsp;ADD1, ADD2, ADD3, ADD4 and PCODE are missing. So in this case from the below table only two rows should be available which has the address information.&lt;/P&gt;
&lt;P&gt;Here is a sample dataset.&lt;/P&gt;
&lt;P&gt;Data Blank_rows; &lt;BR /&gt;infile cards expandtabs;&lt;BR /&gt;input ACCNO TITLE $ FORENAME $ SURNAME $ ADD1 $ ADD2 $ ADD3 $ ADD4 $ PCODE;&lt;BR /&gt;datalines ; &lt;BR /&gt;2056673 Mr Michael Davis 5StationRoad . HOLSWORTHY Devon 24&lt;BR /&gt;2054394 Mrs TarisaM Karo . . . . .&lt;BR /&gt;2060648 Mr Jonathan Cannell . . . . .&lt;BR /&gt;2072589 Mr Chris Stirk 119HighthornRoad York . . 2456&lt;BR /&gt;2063169 Mr Barry Rudd . . . . .&lt;BR /&gt;2061769 Mr Jonathan Park . . . . .&lt;BR /&gt;2061126 Mr Craig McClurrey . . . . .&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2023 12:25:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Removing-the-missing-observations-from-the-dataset/m-p/896924#M354432</guid>
      <dc:creator>Sandeep77</dc:creator>
      <dc:date>2023-10-03T12:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Removing the missing observations from the dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Removing-the-missing-observations-from-the-dataset/m-p/896929#M354433</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
  set Blank_rows;
  where not (cmiss(ADD1,ADD2,ADD3,ADD4,PCODE)=5);
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 03 Oct 2023 12:59:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Removing-the-missing-observations-from-the-dataset/m-p/896929#M354433</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2023-10-03T12:59:21Z</dc:date>
    </item>
  </channel>
</rss>

