<?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: Trouble with PROC IMPORT (csv-file) in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Trouble-with-PROC-IMPORT-csv-file/m-p/77219#M22385</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess you might have not registered the out=&amp;amp;output dataset in metadata...try registering the output dataset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Sep 2012 09:05:37 GMT</pubDate>
    <dc:creator>shivas</dc:creator>
    <dc:date>2012-09-26T09:05:37Z</dc:date>
    <item>
      <title>Trouble with PROC IMPORT (csv-file)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Trouble-with-PROC-IMPORT-csv-file/m-p/77218#M22384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a CSV-file that I need to import into DI Studio. I've set up a transformation with this user written code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc import &lt;/P&gt;&lt;P&gt;&amp;nbsp; file='foldername/filname.csv' &lt;/P&gt;&lt;P&gt;&amp;nbsp; out=&amp;amp;_OUTPUT. replace;&lt;/P&gt;&lt;P&gt;&amp;nbsp; getnames=yes;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see, getnames is set to "yes". I should also mention that the first row of the CSV-file contains column headers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The job runs without any warnings or errors, but when I attempt to open the output table, it tells me "Error accessing metadata: Table has no columns".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I remedy this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2012 08:34:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Trouble-with-PROC-IMPORT-csv-file/m-p/77218#M22384</guid>
      <dc:creator>TurnTheBacon</dc:creator>
      <dc:date>2012-09-26T08:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble with PROC IMPORT (csv-file)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Trouble-with-PROC-IMPORT-csv-file/m-p/77219#M22385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess you might have not registered the out=&amp;amp;output dataset in metadata...try registering the output dataset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2012 09:05:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Trouble-with-PROC-IMPORT-csv-file/m-p/77219#M22385</guid>
      <dc:creator>shivas</dc:creator>
      <dc:date>2012-09-26T09:05:37Z</dc:date>
    </item>
  </channel>
</rss>

