<?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: Proc import - ERROR: Failed to connect to the Server in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-import-ERROR-Failed-to-connect-to-the-Server/m-p/394193#M25399</link>
    <description>I'm on SAS 9.2 (I just added this information to the post).&lt;BR /&gt;I assume this is why I do a manual import, it converts to csv first.</description>
    <pubDate>Fri, 08 Sep 2017 13:15:51 GMT</pubDate>
    <dc:creator>Autotelic</dc:creator>
    <dc:date>2017-09-08T13:15:51Z</dc:date>
    <item>
      <title>Proc import - ERROR: Failed to connect to the Server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-import-ERROR-Failed-to-connect-to-the-Server/m-p/394181#M25395</link>
      <description>&lt;P&gt;SO: Windows 10&lt;/P&gt;&lt;P&gt;SAS EG: 7.1 (7.100.0.1966) (64-bit) &lt;STRONG&gt;Edit:&amp;nbsp;&lt;/STRONG&gt;SAS Base 9.2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Proc import out= WORK.auto1 datafile= "path\file_name.xlsx" 
            DBMS=excelcs
            replace;
            sheet="auto"; 
Run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;When trying to execute the above code, I get the error:&lt;/P&gt;&lt;PRE&gt;ERROR: Failed to connect to the Server: .&lt;/PRE&gt;&lt;P&gt;I'm not connected on any server:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="profile.PNG" style="width: 132px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/14918iA2AF20A2AAD83CAB/image-size/large?v=v2&amp;amp;px=999" role="button" title="profile.PNG" alt="profile.PNG" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;The file I'm trying to import was downloaded from &lt;A href="https://stats.idre.ucla.edu/sas/faq/how-do-i-readwrite-excel-files-in-sas/" target="_self"&gt;this example&lt;/A&gt;&amp;nbsp;and my code is based on the code in the link.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What's going on? How can I use proc import to import this excel?&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2017 09:47:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-import-ERROR-Failed-to-connect-to-the-Server/m-p/394181#M25395</guid>
      <dc:creator>Autotelic</dc:creator>
      <dc:date>2017-10-02T09:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Proc import - ERROR: Failed to connect to the Server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-import-ERROR-Failed-to-connect-to-the-Server/m-p/394184#M25396</link>
      <description>Excelcs requires a PC Files Server i think.&lt;BR /&gt;Try other engine, or check the status of your pc files server.</description>
      <pubDate>Fri, 08 Sep 2017 11:42:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-import-ERROR-Failed-to-connect-to-the-Server/m-p/394184#M25396</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-09-08T11:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: Proc import - ERROR: Failed to connect to the Server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-import-ERROR-Failed-to-connect-to-the-Server/m-p/394185#M25397</link>
      <description>Alas I have no idea of what you're talking about. What is another engine? How can I check the status of my pc files server?</description>
      <pubDate>Fri, 08 Sep 2017 11:49:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-import-ERROR-Failed-to-connect-to-the-Server/m-p/394185#M25397</guid>
      <dc:creator>Autotelic</dc:creator>
      <dc:date>2017-09-08T11:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: Proc import - ERROR: Failed to connect to the Server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-import-ERROR-Failed-to-connect-to-the-Server/m-p/394187#M25398</link>
      <description>&lt;P&gt;The excelxs engine is meant for access to old (pre-xlsx) files from non-Windows platforms. It needs a "SAS PC Files Server" running on a Windows machine that uses the Windows-only Microsoft-supplied conversion module.&lt;/P&gt;
&lt;P&gt;Since you have a local install, you can try to use dbms=xlsx instead (no extra server needed, but SAS 9.4 required)&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2017 12:31:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-import-ERROR-Failed-to-connect-to-the-Server/m-p/394187#M25398</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-09-08T12:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: Proc import - ERROR: Failed to connect to the Server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-import-ERROR-Failed-to-connect-to-the-Server/m-p/394193#M25399</link>
      <description>I'm on SAS 9.2 (I just added this information to the post).&lt;BR /&gt;I assume this is why I do a manual import, it converts to csv first.</description>
      <pubDate>Fri, 08 Sep 2017 13:15:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-import-ERROR-Failed-to-connect-to-the-Server/m-p/394193#M25399</guid>
      <dc:creator>Autotelic</dc:creator>
      <dc:date>2017-09-08T13:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: Proc import - ERROR: Failed to connect to the Server</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-import-ERROR-Failed-to-connect-to-the-Server/m-p/394288#M25406</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/163649"&gt;@Autotelic&lt;/a&gt; wrote:&lt;BR /&gt;I'm on SAS 9.2 (I just added this information to the post).&lt;BR /&gt;I assume this is why I do a manual import, it converts to csv first.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I routinely convert Excel files to CSV prior to reading them with a data step because proc import has to guess about variable types and lengths. In most cases repeated files of supposedly the same the layout and similar content will get changes in lengths of character variables or types of variables when using import causing headaches when combining the data. I head that off by the data step reading a known structure and setting the variable types and lenghths based on the agreed description of the data I should be getting.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2017 17:49:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Proc-import-ERROR-Failed-to-connect-to-the-Server/m-p/394288#M25406</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-09-08T17:49:42Z</dc:date>
    </item>
  </channel>
</rss>

