<?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: How do I export to excel from SAS Viya to mounted local network folder? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-export-to-excel-from-SAS-Viya-to-mounted-local-network/m-p/922597#M363289</link>
    <description>&lt;P&gt;Hello&lt;BR /&gt;&lt;EM&gt;Prima facie&lt;/EM&gt; this is not a SAS issue.&lt;BR /&gt;The following link has more information on why the error occurs.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/26244425/general-error-unable-to-open-registry-key-temporary-volatile-from-access" target="_blank"&gt;https://stackoverflow.com/questions/26244425/general-error-unable-to-open-registry-key-temporary-volatile-from-access&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Apr 2024 18:27:59 GMT</pubDate>
    <dc:creator>Sajid01</dc:creator>
    <dc:date>2024-04-02T18:27:59Z</dc:date>
    <item>
      <title>How do I export to excel from SAS Viya to mounted local network folder?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-export-to-excel-from-SAS-Viya-to-mounted-local-network/m-p/922499#M363244</link>
      <description>&lt;P&gt;We recently had to move from SAS 9.4 to SAS Viya and although I do like some of the new features I'm struggling with some pretty basic stuff.&amp;nbsp; Some of which are related to limitations of the closed system.&amp;nbsp; Our IT department recently helped us get access to our local network by mounting drives which really helped with importing and exporting simple file types such as csv and fixed width.&amp;nbsp; However, exporting to microsoft products has been a challenge.&amp;nbsp; I can't seem to figure out how to export to Excel.&amp;nbsp; Our IT department set up PC file server and I was able to export to Access (although not reliably).&amp;nbsp; Running the code below results in the following errors.&amp;nbsp; Any advice?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="sasSource"&gt;1 %studio_hide_wrapper;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;83 PROC EXPORT DATA=NCHS_report1&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;84 OUTFILE="&amp;lt;REDACTED&amp;gt;\text.xlsx"&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;85 DBMS=EXCELCS REPLACE LABEL;&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;86 SHEET='thissheet';&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;87 SERVER="&amp;lt;REDACTED&amp;gt;";&lt;/DIV&gt;
&lt;DIV class="sasSource"&gt;88 SERVERUSER='&amp;lt;REDACTED&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="sasLogError1_1712005049811" class="sasError"&gt;ERROR: CLI error trying to establish connection: [Microsoft][ODBC Excel Driver]General error Unable to open registry key Temporary&lt;/DIV&gt;
&lt;DIV class="sasError"&gt;(volatile) Ace DSN for process 0x25f0 Thread 0x16e8 DBC 0x24c80e8&lt;/DIV&gt;
&lt;DIV class="sasError"&gt;Excel'.&lt;/DIV&gt;
&lt;DIV id="sasLogError2_1712005049811" class="sasError"&gt;ERROR: Error in the LIBNAME statement.&lt;/DIV&gt;
&lt;DIV id="sasLogError3_1712005049811" class="sasError"&gt;ERROR: Connection Failed. See log for details.&lt;/DIV&gt;
&lt;DIV id="sasLogNote1_1712005049811" class="sasNote"&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/DIV&gt;
&lt;DIV id="sasLogNote2_1712005049811" class="sasNote"&gt;NOTE: PROCEDURE EXPORT used (Total process time):&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;real time 1.43 seconds&lt;/DIV&gt;
&lt;DIV class="sasNote"&gt;cpu time 0.01 seconds&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2024 21:01:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-export-to-excel-from-SAS-Viya-to-mounted-local-network/m-p/922499#M363244</guid>
      <dc:creator>Ryanb2</dc:creator>
      <dc:date>2024-04-01T21:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: How do I export to excel from SAS Viya to mounted local network folder?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-do-I-export-to-excel-from-SAS-Viya-to-mounted-local-network/m-p/922597#M363289</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;&lt;EM&gt;Prima facie&lt;/EM&gt; this is not a SAS issue.&lt;BR /&gt;The following link has more information on why the error occurs.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/26244425/general-error-unable-to-open-registry-key-temporary-volatile-from-access" target="_blank"&gt;https://stackoverflow.com/questions/26244425/general-error-unable-to-open-registry-key-temporary-volatile-from-access&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 18:27:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-do-I-export-to-excel-from-SAS-Viya-to-mounted-local-network/m-p/922597#M363289</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2024-04-02T18:27:59Z</dc:date>
    </item>
  </channel>
</rss>

