<?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: CLI execute error: Server communication failure., error in libname statement when export to Acce in SAS Viya</title>
    <link>https://communities.sas.com/t5/SAS-Viya/CLI-execute-error-Server-communication-failure-error-in-libname/m-p/921173#M2291</link>
    <description>&lt;DIV class="sasSource"&gt;Here's the log.&amp;nbsp; I redacted some of it but please keep in mind I'm able to export a different SAS dataset to the same Access database using the same redacted information.&amp;nbsp; I appreciate your help with this!&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;1 %studio_hide_wrapper;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;83 PROC EXPORT DATA=NAT_CERT_EXPORT&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;84 OUTTABLE='VV_NAT'&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;85 DBMS=ACCESSCS REPLACE LABEL;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;86 DATABASE="&amp;lt;path redacted but works when exporting other SAS datasets&amp;gt;&lt;SPAN&gt;\DIRPS_birth_&amp;amp;YOI..accdb";&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;87 SERVER="&amp;lt;server redacted but works when exporting other SAS datasets&amp;gt;";&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;88 SERVERUSER='&amp;lt;user redacted but works when exporting other SAS datasets&amp;gt;';&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;89 SERVERPASS=XXXXXXXXXXXXXXXXXX;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;90 DBDSOPTS='INSERTBUFF=25';&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;91 RUN;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;ERROR: A socket routine returned error: The connection was reset by a peer.&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;ERROR: A socket routine returned error: Broken pipe&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;ERROR: A socket routine returned error: Broken pipe&lt;/DIV&gt;
&lt;DIV id="sasLogError1_1710962775977" class="sasError"&gt;ERROR: CLI execute error: Server communication failure.&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;ERROR: A socket routine returned error: Broken pipe&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;ERROR: A socket routine returned error: Broken pipe&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;ERROR: A socket routine returned error: Broken pipe&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;ERROR: A socket routine returned error: Broken pipe&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;ERROR: A socket routine returned error: Broken pipe&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;ERROR: A socket routine returned error: Broken pipe&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;ERROR: A socket routine returned error: Broken pipe&lt;/DIV&gt;
&lt;DIV id="sasLogError2_1710962775977" class="sasError"&gt;ERROR: CLI disconnect failed: Server communication failure.&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;ERROR: A socket routine returned error: Broken pipe&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;ERROR: A socket routine returned error: Broken pipe&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;ERROR: A socket routine returned error: Broken pipe&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;ERROR: A socket routine returned error: Broken pipe&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;ERROR: A socket routine returned error: Broken pipe&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;ERROR: A socket routine returned error: Broken pipe&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;ERROR: A socket routine returned error: Broken pipe&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;ERROR: A socket routine returned error: Broken pipe&lt;/DIV&gt;
&lt;DIV id="sasLogError3_1710962775977" class="sasError"&gt;ERROR: CLI disconnect failed: Server communication failure.&lt;/DIV&gt;
&lt;DIV id="sasLogError4_1710962775977" class="sasError"&gt;ERROR: Error in the LIBNAME statement.&lt;/DIV&gt;
&lt;DIV id="sasLogError5_1710962775977" class="sasError"&gt;ERROR: Export unsuccessful. See SAS Log for details.&lt;/DIV&gt;
&lt;DIV id="sasLogNote1_1710962775977" class="sasNote"&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/DIV&gt;
&lt;DIV id="sasLogNote2_1710962775977" class="sasNote"&gt;NOTE: PROCEDURE EXPORT used (Total process time):&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;real time 3.21 seconds&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;cpu time 0.10 seconds&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;92&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;93 %studio_hide_wrapper;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;104&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;105&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;PRE id="pre_sasLog_45654" class="sasLog"&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Mar 2024 19:31:26 GMT</pubDate>
    <dc:creator>Ryanb2</dc:creator>
    <dc:date>2024-03-20T19:31:26Z</dc:date>
    <item>
      <title>CLI execute error: Server communication failure., error in libname statement when export to Access</title>
      <link>https://communities.sas.com/t5/SAS-Viya/CLI-execute-error-Server-communication-failure-error-in-libname/m-p/921132#M2289</link>
      <description>&lt;P&gt;I've been regularly able to export a SAS dataset into an Access database located on our local network from SAS Viya using PC file server.&amp;nbsp; However, now I'm getting the following error messages when I export the usual SAS dataset (MYDATA):&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;ERROR: CLI disconnect failed: Server communication failure."&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;"ERROR: Error in the LIBNAME statement."&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The strange thing is I can successfully export sashelp.class into the same Access database without error.&amp;nbsp; Originally I thought the issue was that I converted string into numeric and it wasn't able to overwrite the Access table with different data types for the same column names but I compared the proc contents from the exported dataset to the imported dataset and variable types aligned.&amp;nbsp; Also, I'm not able to export&amp;nbsp;MYDATA into a new table (i.e., no overwrite) in the Access database like I was able to do with&amp;nbsp;sashelp.class.&amp;nbsp; Meaning the issue appears to have something to do with&amp;nbsp;MYDATA.&amp;nbsp; The only change to&amp;nbsp;MYDATA from working to not working was new records and some new values in existing records, but I'm not sure how to investigate the problem here.&amp;nbsp; Any ideas?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 16:00:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/CLI-execute-error-Server-communication-failure-error-in-libname/m-p/921132#M2289</guid>
      <dc:creator>Ryanb2</dc:creator>
      <dc:date>2024-03-20T16:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: CLI execute error: Server communication failure., error in libname statement when export to Acce</title>
      <link>https://communities.sas.com/t5/SAS-Viya/CLI-execute-error-Server-communication-failure-error-in-libname/m-p/921169#M2290</link>
      <description>&lt;P&gt;Can you please post the complete SAS log of your program, not just the errors. Also please post the complete SAS log of the export that works.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 19:05:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/CLI-execute-error-Server-communication-failure-error-in-libname/m-p/921169#M2290</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2024-03-20T19:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: CLI execute error: Server communication failure., error in libname statement when export to Acce</title>
      <link>https://communities.sas.com/t5/SAS-Viya/CLI-execute-error-Server-communication-failure-error-in-libname/m-p/921173#M2291</link>
      <description>&lt;DIV class="sasSource"&gt;Here's the log.&amp;nbsp; I redacted some of it but please keep in mind I'm able to export a different SAS dataset to the same Access database using the same redacted information.&amp;nbsp; I appreciate your help with this!&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;1 %studio_hide_wrapper;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;83 PROC EXPORT DATA=NAT_CERT_EXPORT&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;84 OUTTABLE='VV_NAT'&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;85 DBMS=ACCESSCS REPLACE LABEL;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;86 DATABASE="&amp;lt;path redacted but works when exporting other SAS datasets&amp;gt;&lt;SPAN&gt;\DIRPS_birth_&amp;amp;YOI..accdb";&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;87 SERVER="&amp;lt;server redacted but works when exporting other SAS datasets&amp;gt;";&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;88 SERVERUSER='&amp;lt;user redacted but works when exporting other SAS datasets&amp;gt;';&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;89 SERVERPASS=XXXXXXXXXXXXXXXXXX;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;90 DBDSOPTS='INSERTBUFF=25';&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;91 RUN;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;ERROR: A socket routine returned error: The connection was reset by a peer.&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;ERROR: A socket routine returned error: Broken pipe&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;ERROR: A socket routine returned error: Broken pipe&lt;/DIV&gt;
&lt;DIV id="sasLogError1_1710962775977" class="sasError"&gt;ERROR: CLI execute error: Server communication failure.&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;ERROR: A socket routine returned error: Broken pipe&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;ERROR: A socket routine returned error: Broken pipe&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;ERROR: A socket routine returned error: Broken pipe&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;ERROR: A socket routine returned error: Broken pipe&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;ERROR: A socket routine returned error: Broken pipe&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;ERROR: A socket routine returned error: Broken pipe&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;ERROR: A socket routine returned error: Broken pipe&lt;/DIV&gt;
&lt;DIV id="sasLogError2_1710962775977" class="sasError"&gt;ERROR: CLI disconnect failed: Server communication failure.&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;ERROR: A socket routine returned error: Broken pipe&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;ERROR: A socket routine returned error: Broken pipe&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;ERROR: A socket routine returned error: Broken pipe&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;ERROR: A socket routine returned error: Broken pipe&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;ERROR: A socket routine returned error: Broken pipe&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;ERROR: A socket routine returned error: Broken pipe&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;ERROR: A socket routine returned error: Broken pipe&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;ERROR: A socket routine returned error: Broken pipe&lt;/DIV&gt;
&lt;DIV id="sasLogError3_1710962775977" class="sasError"&gt;ERROR: CLI disconnect failed: Server communication failure.&lt;/DIV&gt;
&lt;DIV id="sasLogError4_1710962775977" class="sasError"&gt;ERROR: Error in the LIBNAME statement.&lt;/DIV&gt;
&lt;DIV id="sasLogError5_1710962775977" class="sasError"&gt;ERROR: Export unsuccessful. See SAS Log for details.&lt;/DIV&gt;
&lt;DIV id="sasLogNote1_1710962775977" class="sasNote"&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/DIV&gt;
&lt;DIV id="sasLogNote2_1710962775977" class="sasNote"&gt;NOTE: PROCEDURE EXPORT used (Total process time):&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;real time 3.21 seconds&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;cpu time 0.10 seconds&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;92&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;93 %studio_hide_wrapper;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;104&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;105&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;PRE id="pre_sasLog_45654" class="sasLog"&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 19:31:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/CLI-execute-error-Server-communication-failure-error-in-libname/m-p/921173#M2291</guid>
      <dc:creator>Ryanb2</dc:creator>
      <dc:date>2024-03-20T19:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: CLI execute error: Server communication failure., error in libname statement when export to Acce</title>
      <link>https://communities.sas.com/t5/SAS-Viya/CLI-execute-error-Server-communication-failure-error-in-libname/m-p/921178#M2292</link>
      <description>&lt;DIV class="sasSource"&gt;And here's log output for the code that works, again redacted.&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;
&lt;DIV class="sasSource"&gt;
&lt;DIV class="sasSource"&gt;1 %studio_hide_wrapper;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;83 PROC EXPORT DATA=SASHELP.Class&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;84 OUTTABLE='test'&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;85 DBMS=ACCESSCS REPLACE LABEL;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;86 DATABASE="&amp;lt;redacted but same as one that doesnt work &amp;gt;&lt;SPAN&gt;\DIRPS_birth_&amp;amp;YOI..accdb";&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;87 SERVER="&amp;lt;redacted but same as one that doesnt work&amp;gt;";&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;88 SERVERUSER='&amp;lt;redacted but same as one that doesnt work&amp;gt;';&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;89 SERVERPASS=XXXXXXXXXXXXXXXXXX;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;90 DBDSOPTS='INSERTBUFF=25';&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;91 RUN;&lt;/DIV&gt;
&lt;DIV id="sasLogNote1_1710964437578" class="sasNote"&gt;NOTE: "test" table was successfully created.&lt;/DIV&gt;
&lt;DIV id="sasLogNote2_1710964437578" class="sasNote"&gt;NOTE: PROCEDURE EXPORT used (Total process time):&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;real time 2.01 seconds&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;cpu time 0.06 seconds&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;92&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;93 %studio_hide_wrapper;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;104&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;105&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;PRE id="pre_sasLog_45661" class="sasLog"&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 20 Mar 2024 19:55:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/CLI-execute-error-Server-communication-failure-error-in-libname/m-p/921178#M2292</guid>
      <dc:creator>Ryanb2</dc:creator>
      <dc:date>2024-03-20T19:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: CLI execute error: Server communication failure., error in libname statement when export to Acce</title>
      <link>https://communities.sas.com/t5/SAS-Viya/CLI-execute-error-Server-communication-failure-error-in-libname/m-p/921187#M2293</link>
      <description>&lt;P&gt;This SAS Note is a close match:&amp;nbsp;&lt;A href="https://support.sas.com/kb/46/541.html" target="_blank"&gt;https://support.sas.com/kb/46/541.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check what version of the MS Access Database Engine you have installed on your SAS PC Files Server. Going to a more recent version may help. We started trying the 2016 version recently and haven't had any problems although we weren't using it with the&amp;nbsp;SAS PC Files Server.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 20:53:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/CLI-execute-error-Server-communication-failure-error-in-libname/m-p/921187#M2293</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2024-03-20T20:53:46Z</dc:date>
    </item>
  </channel>
</rss>

