<?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: Deleting rows selected rows from datasets in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Deleting-rows-selected-rows-from-datasets/m-p/402026#M20958</link>
    <description>&lt;P&gt;You mean this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data want;&lt;/P&gt;
&lt;P&gt;set tank;&lt;/P&gt;
&lt;P&gt;if _n_ in (1, 2, 3, 5, 6, 60) then delete;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But you will need to learn some basics.&amp;nbsp; To be used in a SET statement, TANK has to be a SAS data set.&amp;nbsp; So you need to learn how to get from a spreadsheet to a SAS data set.&lt;/P&gt;
&lt;DIV class="lia-page"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Sat, 07 Oct 2017 01:40:47 GMT</pubDate>
    <dc:creator>Astounding</dc:creator>
    <dc:date>2017-10-07T01:40:47Z</dc:date>
    <item>
      <title>Deleting rows selected rows from datasets</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Deleting-rows-selected-rows-from-datasets/m-p/401982#M20954</link>
      <description>&lt;P&gt;Please I have this set of data I want to delete rows 1-3, 5-6 and row 60&lt;/P&gt;&lt;P&gt;Which SAS code can I use?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2017 22:10:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Deleting-rows-selected-rows-from-datasets/m-p/401982#M20954</guid>
      <dc:creator>Omodara</dc:creator>
      <dc:date>2017-10-06T22:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting rows selected rows from datasets</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Deleting-rows-selected-rows-from-datasets/m-p/401984#M20955</link>
      <description>&lt;P&gt;An easy way:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data want;&lt;/P&gt;
&lt;P&gt;set have;&lt;/P&gt;
&lt;P&gt;if _n_ in (1, 2, 3, 5, 6, 60) then delete;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2017 22:23:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Deleting-rows-selected-rows-from-datasets/m-p/401984#M20955</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2017-10-06T22:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting rows selected rows from datasets</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Deleting-rows-selected-rows-from-datasets/m-p/401986#M20956</link>
      <description>I have tried it its showing empty table I suppose I should include the name of the data set some where. Let say tank id the original dataset name&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Oct 2017 22:29:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Deleting-rows-selected-rows-from-datasets/m-p/401986#M20956</guid>
      <dc:creator>Omodara</dc:creator>
      <dc:date>2017-10-06T22:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting rows selected rows from datasets</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Deleting-rows-selected-rows-from-datasets/m-p/401990#M20957</link>
      <description>lets say the name of the initial data set is "tank" where how will I enter the code</description>
      <pubDate>Fri, 06 Oct 2017 22:33:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Deleting-rows-selected-rows-from-datasets/m-p/401990#M20957</guid>
      <dc:creator>Omodara</dc:creator>
      <dc:date>2017-10-06T22:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting rows selected rows from datasets</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Deleting-rows-selected-rows-from-datasets/m-p/402026#M20958</link>
      <description>&lt;P&gt;You mean this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data want;&lt;/P&gt;
&lt;P&gt;set tank;&lt;/P&gt;
&lt;P&gt;if _n_ in (1, 2, 3, 5, 6, 60) then delete;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But you will need to learn some basics.&amp;nbsp; To be used in a SET statement, TANK has to be a SAS data set.&amp;nbsp; So you need to learn how to get from a spreadsheet to a SAS data set.&lt;/P&gt;
&lt;DIV class="lia-page"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Sat, 07 Oct 2017 01:40:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Deleting-rows-selected-rows-from-datasets/m-p/402026#M20958</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2017-10-07T01:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting rows selected rows from datasets</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Deleting-rows-selected-rows-from-datasets/m-p/402091#M20960</link>
      <description>Yes&lt;BR /&gt;</description>
      <pubDate>Sat, 07 Oct 2017 15:14:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Deleting-rows-selected-rows-from-datasets/m-p/402091#M20960</guid>
      <dc:creator>Omodara</dc:creator>
      <dc:date>2017-10-07T15:14:35Z</dc:date>
    </item>
  </channel>
</rss>

