<?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 Delimited file and variables of Interest in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Delimited-file-and-variables-of-Interest/m-p/92888#M19598</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a pipe (|) delimited file and it doesnt have variable names.There are twenty columns.How can I read just a few say for instance column1, column7, cloum11?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Dec 2012 19:20:23 GMT</pubDate>
    <dc:creator>SASPhile</dc:creator>
    <dc:date>2012-12-06T19:20:23Z</dc:date>
    <item>
      <title>Delimited file and variables of Interest</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Delimited-file-and-variables-of-Interest/m-p/92888#M19598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a pipe (|) delimited file and it doesnt have variable names.There are twenty columns.How can I read just a few say for instance column1, column7, cloum11?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2012 19:20:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Delimited-file-and-variables-of-Interest/m-p/92888#M19598</guid>
      <dc:creator>SASPhile</dc:creator>
      <dc:date>2012-12-06T19:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Delimited file and variables of Interest</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Delimited-file-and-variables-of-Interest/m-p/92889#M19599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use PROC IMPORT&amp;nbsp; to read all the variables, then KEEP the ones you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC IMPORT OUT= WORK.test&amp;nbsp;&amp;nbsp; /* your SAS data set */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATAFILE= "C:\temp\test.csv"&amp;nbsp;&amp;nbsp; /* replace with your input data set name */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DBMS=CSV REPLACE;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GETNAMES=NO;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATAROW=1; &lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data test;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set test (keep=var1 var7 var11);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VAR is the default variable name prefix when the first row is not variable names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2012 19:34:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Delimited-file-and-variables-of-Interest/m-p/92889#M19599</guid>
      <dc:creator>jwsquillace</dc:creator>
      <dc:date>2012-12-06T19:34:37Z</dc:date>
    </item>
  </channel>
</rss>

