<?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: unable to read multiple files !! in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/unable-to-read-multiple-files/m-p/105130#M21928</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks&amp;nbsp; Mr Tom...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Feb 2013 17:14:32 GMT</pubDate>
    <dc:creator>allurai0412</dc:creator>
    <dc:date>2013-02-11T17:14:32Z</dc:date>
    <item>
      <title>unable to read multiple files !!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/unable-to-read-multiple-files/m-p/105126#M21924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am&amp;nbsp; unable to import the multiple files ...form desktop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i could not able to trace the error in the code .. please help..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data allu.import;&lt;BR /&gt; input ExternalNames $ 40.;&lt;BR /&gt; infile&amp;nbsp; filevar=ExternalNames end=Last;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; do until (last);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; input . . ;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;BR /&gt;datalines;&lt;/P&gt;&lt;P&gt;c:\Documents and Settings\alluraiah.ychv\Desktop\data1.txt&lt;BR /&gt;c:\Documents and Settings\alluraiah.ychv\Desktop\moredata.txt&lt;BR /&gt;c:\Documents and Settings\alluraiah.ychv\Desktop\fred.txt&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALLU&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2013 14:13:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/unable-to-read-multiple-files/m-p/105126#M21924</guid>
      <dc:creator>allurai0412</dc:creator>
      <dc:date>2013-02-11T14:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: unable to read multiple files !!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/unable-to-read-multiple-files/m-p/105127#M21925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data allu.import;&lt;BR /&gt; input ExternalNames $ 40.;&lt;BR /&gt; infile &lt;STRONG&gt;DUMMY &lt;/STRONG&gt; filevar=ExternalNames end=Last;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; do until (last);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; input . . ;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; end;&lt;BR /&gt;datalines;&lt;/P&gt;&lt;P&gt;c:\Documents and Settings\alluraiah.ychv\Desktop\data1.txt&lt;BR /&gt;c:\Documents and Settings\alluraiah.ychv\Desktop\moredata.txt&lt;BR /&gt;c:\Documents and Settings\alluraiah.ychv\Desktop\fred.txt&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2013 14:35:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/unable-to-read-multiple-files/m-p/105127#M21925</guid>
      <dc:creator>DBailey</dc:creator>
      <dc:date>2013-02-11T14:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: unable to read multiple files !!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/unable-to-read-multiple-files/m-p/105128#M21926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In addition to adding a fileref to the INFILE statement you should reset LAST variable to 0 after the DO loop.&amp;nbsp; Otherwise it will probably only read one line each from second file onward.&lt;/P&gt;&lt;P&gt;You should switch to a DO WHILE( NOT last) loop to prevent the data step from bombing when it hits an empty file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2013 14:51:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/unable-to-read-multiple-files/m-p/105128#M21926</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2013-02-11T14:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: unable to read multiple files !!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/unable-to-read-multiple-files/m-p/105129#M21927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2013 17:14:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/unable-to-read-multiple-files/m-p/105129#M21927</guid>
      <dc:creator>allurai0412</dc:creator>
      <dc:date>2013-02-11T17:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: unable to read multiple files !!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/unable-to-read-multiple-files/m-p/105130#M21928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks&amp;nbsp; Mr Tom...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2013 17:14:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/unable-to-read-multiple-files/m-p/105130#M21928</guid>
      <dc:creator>allurai0412</dc:creator>
      <dc:date>2013-02-11T17:14:32Z</dc:date>
    </item>
  </channel>
</rss>

