<?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: XLSX file can not be created// why $$ was added to the name in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/XLSX-file-can-not-be-created-why-was-added-to-the-name/m-p/258833#M49946</link>
    <description>&lt;P&gt;So what's changed? Has your excel version or SAS version changed?&lt;/P&gt;</description>
    <pubDate>Thu, 24 Mar 2016 14:35:38 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2016-03-24T14:35:38Z</dc:date>
    <item>
      <title>XLSX file can not be created// why $$ was added to the name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XLSX-file-can-not-be-created-why-was-added-to-the-name/m-p/258587#M49840</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc export data = payaverage
outfile = "c:\paycal"
dbms = XLSX replace;
sheet = "1.2";
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;There was an error message below.&lt;/P&gt;&lt;P&gt;Error creating temporary file for XLSX file -&amp;gt; c:\\paycal.$$1 . It is either not an Excel&lt;BR /&gt;spreadsheet or it is damaged. Error code=80001019&lt;BR /&gt;Requested Output File is Invalid&lt;BR /&gt;ERROR: Export unsuccessful. See SAS Log for details.&lt;/P&gt;&lt;P&gt;My question is, why it automatically add $$! to the name of excel file? I checked the folder and did&amp;nbsp; find the file with this strange name. However, it cannot be opened.&lt;/P&gt;&lt;P&gt;ANy suggestions why this happened? I want to create an excel file.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2016 17:53:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XLSX-file-can-not-be-created-why-was-added-to-the-name/m-p/258587#M49840</guid>
      <dc:creator>Bal23</dc:creator>
      <dc:date>2016-03-23T17:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: XLSX file can not be created// why $$ was added to the name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XLSX-file-can-not-be-created-why-was-added-to-the-name/m-p/258589#M49842</link>
      <description>&lt;P&gt;Does &lt;A href="http://blogs.sas.com/content/sasdummy/2014/09/24/proc-import-xlsx-error/" target="_blank"&gt;this&lt;/A&gt; help?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2016 17:57:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XLSX-file-can-not-be-created-why-was-added-to-the-name/m-p/258589#M49842</guid>
      <dc:creator>Tim_SAS</dc:creator>
      <dc:date>2016-03-23T17:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: XLSX file can not be created// why $$ was added to the name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XLSX-file-can-not-be-created-why-was-added-to-the-name/m-p/258590#M49843</link>
      <description>&lt;P&gt;It's probably how it's marking a temporary file. Have you tried adding the extension in your code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't think the 1.2 sheet name should cause issues, but I would also try removing it if the errors persist.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc export data = payaverage
outfile = "c:\paycal.xlsx"
dbms = XLSX replace;
sheet = "1.2";
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 23 Mar 2016 17:58:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XLSX-file-can-not-be-created-why-was-added-to-the-name/m-p/258590#M49843</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-03-23T17:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: XLSX file can not be created// why $$ was added to the name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XLSX-file-can-not-be-created-why-was-added-to-the-name/m-p/258593#M49846</link>
      <description>&lt;P&gt;I did add xlsx. the same error message appeared&lt;/P&gt;&lt;P&gt;then I reomve 1.2 sheet name, it is same&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;maybe because recently I changed the template? I want to have 56,789 in steadd of 56789. I want the percentage rate be 7.8% instead of 7.833%. Otherwise, I do not know why suddenly this error message appeared&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any other advice?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2016 18:13:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XLSX-file-can-not-be-created-why-was-added-to-the-name/m-p/258593#M49846</guid>
      <dc:creator>Bal23</dc:creator>
      <dc:date>2016-03-23T18:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: XLSX file can not be created// why $$ was added to the name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XLSX-file-can-not-be-created-why-was-added-to-the-name/m-p/258594#M49847</link>
      <description>&lt;P&gt;Your file already exists and you're trying to add to it? &amp;nbsp;What version of SAS do you have? XLSX didn't support adding to files until recently.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2016 18:17:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XLSX-file-can-not-be-created-why-was-added-to-the-name/m-p/258594#M49847</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-03-23T18:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: XLSX file can not be created// why $$ was added to the name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XLSX-file-can-not-be-created-why-was-added-to-the-name/m-p/258595#M49848</link>
      <description>&lt;P&gt;sas 9.4&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2016 18:22:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XLSX-file-can-not-be-created-why-was-added-to-the-name/m-p/258595#M49848</guid>
      <dc:creator>Bal23</dc:creator>
      <dc:date>2016-03-23T18:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: XLSX file can not be created// why $$ was added to the name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XLSX-file-can-not-be-created-why-was-added-to-the-name/m-p/258800#M49924</link>
      <description>&lt;P&gt;Anyone can help with this problem?&lt;/P&gt;&lt;P&gt;Those codes prevously worked but now they could not.&lt;/P&gt;&lt;P&gt;error mesage below:&lt;/P&gt;&lt;P&gt;Error creating temporary file for XLSX file -&amp;gt; c:\TABLES.$$1 .&lt;/P&gt;&lt;P&gt;It is either not an Excel spreadsheet or it is damaged. Error code=80001019&lt;/P&gt;&lt;P&gt;Requested Output File is Invalid&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But it still works when I use PDF option to the same destination. But I do need excel files so that I can add more.&lt;/P&gt;&lt;P&gt;Writing ODS PDF output to DISK destination&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2016 13:55:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XLSX-file-can-not-be-created-why-was-added-to-the-name/m-p/258800#M49924</guid>
      <dc:creator>Bal23</dc:creator>
      <dc:date>2016-03-24T13:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: XLSX file can not be created// why $$ was added to the name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XLSX-file-can-not-be-created-why-was-added-to-the-name/m-p/258819#M49938</link>
      <description>&lt;P&gt;Is this a new excel file that you're creating?&lt;/P&gt;
&lt;P&gt;Does it work in a different location? With a different dataset? with a different name?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you ever been able to create excel files and now it's not working?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2016 14:23:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XLSX-file-can-not-be-created-why-was-added-to-the-name/m-p/258819#M49938</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-03-24T14:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: XLSX file can not be created// why $$ was added to the name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XLSX-file-can-not-be-created-why-was-added-to-the-name/m-p/258831#M49944</link>
      <description>&lt;P&gt;I tried a new excel file. It does not work. I tried to save to different locations, none works.&lt;/P&gt;&lt;P&gt;I also tried my previous code, with different locations. None works now. But they worked and saved to the same drive previously. Yes I have been able to create excel files and able to add more sheets so that I can add table 2,3,4, to an existing table.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2016 14:33:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XLSX-file-can-not-be-created-why-was-added-to-the-name/m-p/258831#M49944</guid>
      <dc:creator>Bal23</dc:creator>
      <dc:date>2016-03-24T14:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: XLSX file can not be created// why $$ was added to the name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XLSX-file-can-not-be-created-why-was-added-to-the-name/m-p/258833#M49946</link>
      <description>&lt;P&gt;So what's changed? Has your excel version or SAS version changed?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2016 14:35:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XLSX-file-can-not-be-created-why-was-added-to-the-name/m-p/258833#M49946</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-03-24T14:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: XLSX file can not be created// why $$ was added to the name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XLSX-file-can-not-be-created-why-was-added-to-the-name/m-p/258835#M49948</link>
      <description>&lt;P&gt;I did not change my sas. Our SAS is removed installed. So I do not know the detail.&lt;/P&gt;&lt;P&gt;regarding My excel file, I changed the template, as I mentioned, so that the number can be written as 123,456 instead of 123456&lt;/P&gt;&lt;P&gt;that is the only thing I changed&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2016 14:38:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XLSX-file-can-not-be-created-why-was-added-to-the-name/m-p/258835#M49948</guid>
      <dc:creator>Bal23</dc:creator>
      <dc:date>2016-03-24T14:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: XLSX file can not be created// why $$ was added to the name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XLSX-file-can-not-be-created-why-was-added-to-the-name/m-p/258899#M49972</link>
      <description>&lt;P&gt;proc export data = payaverage&lt;/P&gt;&lt;P&gt;&amp;nbsp;outfile = "c:\paycal.xls"&lt;/P&gt;&lt;P&gt;&amp;nbsp;DBMS=EXCEL REPLACE;&lt;/P&gt;&lt;P&gt;&amp;nbsp;SHEET="1.1";&lt;/P&gt;&lt;P&gt;&amp;nbsp;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: Connect: Class not registered&lt;/P&gt;&lt;P&gt;ERROR: Error in the LIBNAME statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anybody help to give advice?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2016 18:17:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XLSX-file-can-not-be-created-why-was-added-to-the-name/m-p/258899#M49972</guid>
      <dc:creator>Bal23</dc:creator>
      <dc:date>2016-03-24T18:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: XLSX file can not be created// why $$ was added to the name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XLSX-file-can-not-be-created-why-was-added-to-the-name/m-p/258902#M49974</link>
      <description>&lt;P&gt;Post the results from the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc setinit;run;

proc product_status;run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 24 Mar 2016 18:33:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XLSX-file-can-not-be-created-why-was-added-to-the-name/m-p/258902#M49974</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-03-24T18:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: XLSX file can not be created// why $$ was added to the name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XLSX-file-can-not-be-created-why-was-added-to-the-name/m-p/258907#M49976</link>
      <description>&lt;P&gt;You mention changing a template so this means you're writing to an existing file. But you've specified the replace option, does that make sense for what you're doing?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Beyond this, you should probably talk to your tech support or SAS tech support, I don't think there's much further we can help you with here.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2016 18:36:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XLSX-file-can-not-be-created-why-was-added-to-the-name/m-p/258907#M49976</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-03-24T18:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: XLSX file can not be created// why $$ was added to the name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XLSX-file-can-not-be-created-why-was-added-to-the-name/m-p/259069#M50051</link>
      <description>&lt;P&gt;what do you mean by that&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2016 14:12:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XLSX-file-can-not-be-created-why-was-added-to-the-name/m-p/259069#M50051</guid>
      <dc:creator>Bal23</dc:creator>
      <dc:date>2016-03-25T14:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: XLSX file can not be created// why $$ was added to the name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XLSX-file-can-not-be-created-why-was-added-to-the-name/m-p/259094#M50059</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/40773"&gt;@Bal23&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;what do you mean by that&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since you haven't quoted the post, we have no idea of which response your replying to.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2016 16:44:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XLSX-file-can-not-be-created-why-was-added-to-the-name/m-p/259094#M50059</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-03-25T16:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: XLSX file can not be created// why $$ was added to the name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XLSX-file-can-not-be-created-why-was-added-to-the-name/m-p/463211#M117969</link>
      <description>&lt;P&gt;maybe you cann`t access the [C:\paycal.xlsx]. Right click the file → property→security. Check the user that used to run the sas pg. If&amp;nbsp; it is not exist, add it. so you can fix the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;file permission have changed when you copy the file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 May 2018 04:42:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XLSX-file-can-not-be-created-why-was-added-to-the-name/m-p/463211#M117969</guid>
      <dc:creator>sjiawei</dc:creator>
      <dc:date>2018-05-18T04:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: XLSX file can not be created// why $$ was added to the name</title>
      <link>https://communities.sas.com/t5/SAS-Programming/XLSX-file-can-not-be-created-why-was-added-to-the-name/m-p/533289#M146197</link>
      <description>&lt;P&gt;I had the same issue then realized someone else had changed the name of the path directory where I was trying to place the EXCEL files. Make sure you have access to write wherever SAS is trying to write.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Feb 2019 15:23:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/XLSX-file-can-not-be-created-why-was-added-to-the-name/m-p/533289#M146197</guid>
      <dc:creator>preston1</dc:creator>
      <dc:date>2019-02-06T15:23:27Z</dc:date>
    </item>
  </channel>
</rss>

