<?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 Wrong file. in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Wrong-file/m-p/470167#M30496</link>
    <description>&lt;P&gt;&lt;SPAN&gt;How to validate that a file exist without mistakes?&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Note the filexist function not say about a wrong file.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Jun 2018 02:11:20 GMT</pubDate>
    <dc:creator>riarangogi</dc:creator>
    <dc:date>2018-06-14T02:11:20Z</dc:date>
    <item>
      <title>Wrong file.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Wrong-file/m-p/470167#M30496</link>
      <description>&lt;P&gt;&lt;SPAN&gt;How to validate that a file exist without mistakes?&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Note the filexist function not say about a wrong file.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2018 02:11:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Wrong-file/m-p/470167#M30496</guid>
      <dc:creator>riarangogi</dc:creator>
      <dc:date>2018-06-14T02:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong file.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Wrong-file/m-p/470176#M30497</link>
      <description>&lt;P&gt;What is your definition of a file that is wrong or exists without mistakes?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2018 03:22:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Wrong-file/m-p/470176#M30497</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2018-06-14T03:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong file.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Wrong-file/m-p/470180#M30498</link>
      <description>Is when I can import a file.So, I want know how to detect the files we could import.</description>
      <pubDate>Thu, 14 Jun 2018 03:49:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Wrong-file/m-p/470180#M30498</guid>
      <dc:creator>riarangogi</dc:creator>
      <dc:date>2018-06-14T03:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong file.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Wrong-file/m-p/470183#M30499</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/213650"&gt;@riarangogi&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Is when I can import a file.So, I want know how to detect the files we could import.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;BR /&gt;It depends, if you don’t have PCFILES you can’t open an XLSX file. Your criteria is still too broad.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Vague question = vague answer.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2018 03:54:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Wrong-file/m-p/470183#M30499</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-06-14T03:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong file.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Wrong-file/m-p/470188#M30500</link>
      <description>&lt;P&gt;What happens if the file exists but is damaged?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If file.txt is a&amp;nbsp; wrong file, then filexist function is true but I can't import it.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2018 04:34:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Wrong-file/m-p/470188#M30500</guid>
      <dc:creator>riarangogi</dc:creator>
      <dc:date>2018-06-14T04:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong file.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Wrong-file/m-p/470191#M30503</link>
      <description>&lt;P&gt;How would &lt;EM&gt;you&lt;/EM&gt; detect that a .txt file is "wrong"? Once you know that, you can create code out of this algorithm. Note that you will have to read the file, and determine its state by the contents you read.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2018 05:10:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Wrong-file/m-p/470191#M30503</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-06-14T05:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong file.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Wrong-file/m-p/470222#M30506</link>
      <description>&lt;P&gt;One thing we use a lot is a file header (the first line in the file) and a file footer (the last line in the file).&lt;/P&gt;
&lt;P&gt;In the header number of rows are specified, also file creation date and name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By reading the header we get information about the file which we then use to make an initial check if it's ok.&lt;/P&gt;
&lt;P&gt;If so we stop.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If ok, we read the file and if we reach the footer we check the number of rows again.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;//Fredrik&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2018 08:23:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Wrong-file/m-p/470222#M30506</guid>
      <dc:creator>FredrikE</dc:creator>
      <dc:date>2018-06-14T08:23:33Z</dc:date>
    </item>
  </channel>
</rss>

