<?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 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Deleting-Rows/m-p/294550#M61454</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using a data set that I imported from excel. I used&amp;nbsp; proc means in order to create a new set of rows that shows the N, min, max, std, and mean. I just want to keep the row that show N, number of observation for each variable, which is the first row.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc means noprint data=one N;&lt;BR /&gt;var A B C D E;&lt;BR /&gt;&amp;nbsp; output out=one2;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;data one3 (keep = A B C D E);&lt;BR /&gt;&amp;nbsp; set one2 one (in=in2);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 27 Aug 2016 01:20:18 GMT</pubDate>
    <dc:creator>drichmo1</dc:creator>
    <dc:date>2016-08-27T01:20:18Z</dc:date>
    <item>
      <title>Deleting Rows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Deleting-Rows/m-p/294544#M61449</link>
      <description>&lt;P&gt;Does anyone know how I can delete exrta rows? I really just want to keep the first row and delete all others. Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 27 Aug 2016 00:26:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Deleting-Rows/m-p/294544#M61449</guid>
      <dc:creator>drichmo1</dc:creator>
      <dc:date>2016-08-27T00:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Rows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Deleting-Rows/m-p/294547#M61451</link>
      <description>&lt;P&gt;What rows or rows in what? Give example of your data set&lt;/P&gt;</description>
      <pubDate>Sat, 27 Aug 2016 00:39:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Deleting-Rows/m-p/294547#M61451</guid>
      <dc:creator>mohamed_zaki</dc:creator>
      <dc:date>2016-08-27T00:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Rows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Deleting-Rows/m-p/294550#M61454</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using a data set that I imported from excel. I used&amp;nbsp; proc means in order to create a new set of rows that shows the N, min, max, std, and mean. I just want to keep the row that show N, number of observation for each variable, which is the first row.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc means noprint data=one N;&lt;BR /&gt;var A B C D E;&lt;BR /&gt;&amp;nbsp; output out=one2;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;data one3 (keep = A B C D E);&lt;BR /&gt;&amp;nbsp; set one2 one (in=in2);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Aug 2016 01:20:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Deleting-Rows/m-p/294550#M61454</guid>
      <dc:creator>drichmo1</dc:creator>
      <dc:date>2016-08-27T01:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Rows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Deleting-Rows/m-p/294557#M61458</link>
      <description>&lt;P&gt;You can select your output statistics by specifying them after the out=&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;output out=want n=/autoname;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Aug 2016 02:03:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Deleting-Rows/m-p/294557#M61458</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-08-27T02:03:26Z</dc:date>
    </item>
  </channel>
</rss>

