<?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 Drop all columns except the few I want in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Drop-all-columns-except-the-few-I-want/m-p/84876#M256911</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings all.&amp;nbsp; I'm hitting a DB2 table that has around 100 columns, and I only want 5 of them.&amp;nbsp; Is there a quick way to drop them all excluding the 5 I want, without having to explicitly type them all out in a drop statement?&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Oct 2012 20:18:42 GMT</pubDate>
    <dc:creator>gsnidow</dc:creator>
    <dc:date>2012-10-03T20:18:42Z</dc:date>
    <item>
      <title>Drop all columns except the few I want</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Drop-all-columns-except-the-few-I-want/m-p/84876#M256911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings all.&amp;nbsp; I'm hitting a DB2 table that has around 100 columns, and I only want 5 of them.&amp;nbsp; Is there a quick way to drop them all excluding the 5 I want, without having to explicitly type them all out in a drop statement?&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2012 20:18:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Drop-all-columns-except-the-few-I-want/m-p/84876#M256911</guid>
      <dc:creator>gsnidow</dc:creator>
      <dc:date>2012-10-03T20:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: Drop all columns except the few I want</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Drop-all-columns-except-the-few-I-want/m-p/84877#M256912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of DROP=&amp;nbsp; use KEEP= for the variables you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The pain is when the desired number is about half of the variables...&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2012 20:20:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Drop-all-columns-except-the-few-I-want/m-p/84877#M256912</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2012-10-03T20:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: Drop all columns except the few I want</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Drop-all-columns-except-the-few-I-want/m-p/84878#M256913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, I knew it had to be something easy like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2012 21:20:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Drop-all-columns-except-the-few-I-want/m-p/84878#M256913</guid>
      <dc:creator>gsnidow</dc:creator>
      <dc:date>2012-10-03T21:20:20Z</dc:date>
    </item>
  </channel>
</rss>

