<?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 Importing data in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Importing-data/m-p/203019#M50668</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have .CSV file with 2000 columns.Some columns have blank data.Now mr requirement is:&lt;/P&gt;&lt;P&gt;(1)How to import this file into SAS,while importing into SAS i need to drop the columns with blank data?&lt;/P&gt;&lt;P&gt;(2)How to import only column1,column2,column150,column256?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Mar 2015 05:46:02 GMT</pubDate>
    <dc:creator>gsreddy</dc:creator>
    <dc:date>2015-03-17T05:46:02Z</dc:date>
    <item>
      <title>Importing data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Importing-data/m-p/203019#M50668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have .CSV file with 2000 columns.Some columns have blank data.Now mr requirement is:&lt;/P&gt;&lt;P&gt;(1)How to import this file into SAS,while importing into SAS i need to drop the columns with blank data?&lt;/P&gt;&lt;P&gt;(2)How to import only column1,column2,column150,column256?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 05:46:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Importing-data/m-p/203019#M50668</guid>
      <dc:creator>gsreddy</dc:creator>
      <dc:date>2015-03-17T05:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Importing data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Importing-data/m-p/203020#M50669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You ou need to import all and drop the columns you don't want in a second step. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 05:50:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Importing-data/m-p/203020#M50669</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-03-17T05:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: Importing data</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Importing-data/m-p/203021#M50670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Easiest:&lt;/P&gt;&lt;P&gt;Use proc import. The procedure will generate a datastep to read the data. You can either Recall the code into the editor (F4 key by default, command Recall, or copy and paste from the log).&lt;/P&gt;&lt;P&gt;Edit the data step to have (keep= &amp;lt;list the names of the variables you want to keep&amp;gt;) data set option .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want (keep=column1 column2 column150 column256);&lt;/P&gt;&lt;P&gt;&amp;lt;remainder of generated code&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can get you data in fixed column then you can read directly by specifying the columns to read.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2015 07:40:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Importing-data/m-p/203021#M50670</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-03-17T07:40:51Z</dc:date>
    </item>
  </channel>
</rss>

