<?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: ERROR: MYEXCEL.BLAD2.DATA cannot be deleted because files cannot be deleted from the MYEXCEL lib in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ERROR-MYEXCEL-BLAD2-DATA-cannot-be-deleted-because-files-cannot/m-p/645818#M193092</link>
    <description>&lt;P&gt;You have limited support using the xlsx engine. Some features are not available on this engine. "&lt;A href="https://documentation.sas.com/?docsetId=acpcref&amp;amp;docsetTarget=n1t1gvr8q2u9xjn1bm1rpej2wkw9.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_self"&gt;Comparing SAS LIBNAME Engines for PC Files Data&lt;/A&gt;".&lt;BR /&gt;One option is to keep Excel files on a Windows machine with the "SAS PC File Server".&lt;BR /&gt;"&lt;A href="https://support.sas.com/downloads/package.htm?pid=2167" target="_self"&gt;SAS PC Files Server&lt;/A&gt;"&lt;BR /&gt;"&lt;A href="https://documentation.sas.com/api/docsets/pcfsicg/9.4/content/pcfsicg.pdf?locale=en" target="_self"&gt;SAS 9.4 PC Files Server: Installation and Configuration Guide&lt;/A&gt;"&lt;/P&gt;</description>
    <pubDate>Thu, 07 May 2020 11:00:55 GMT</pubDate>
    <dc:creator>dcmacedo</dc:creator>
    <dc:date>2020-05-07T11:00:55Z</dc:date>
    <item>
      <title>ERROR: MYEXCEL.BLAD2.DATA cannot be deleted because files cannot be deleted from the MYEXCEL library</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-MYEXCEL-BLAD2-DATA-cannot-be-deleted-because-files-cannot/m-p/645785#M193079</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are migrating from SAS 9.4 M1 on windows to SAS 9.4M6 on AIX.&amp;nbsp;We are running into an issues with excel files. On windows, we were using the EXCEL library engine. There we could delete a sheet within an excel file with PROC DATASETS delete:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LIBNAME MYEXCEL EXCEL &amp;amp;FILEPATH;&lt;/P&gt;&lt;P&gt;PROC DATASETS LIB=MYEXCEL NOLIST;&lt;BR /&gt;delete 'Blad2$'n;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;LIBNAME MYEXCEL CLEAR;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On AIX the EXCEL engine is not available. We tried switching to the XSLX engine, but then we get the error:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ERROR: MYEXCEL.BLAD2.DATA cannot be deleted because files cannot be deleted from the MYEXCEL library&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can we delete a sheet within an excel-file with SAS on AIX?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;AIX code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LIBNAME MYEXCEL xlsx &amp;amp;FILEPATH;&lt;/P&gt;&lt;P&gt;PROC DATASETS LIB=MYEXCEL ;&lt;BR /&gt;delete 'BLAD2'n;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;LIBNAME MYEXCEL CLEAR;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 06:45:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-MYEXCEL-BLAD2-DATA-cannot-be-deleted-because-files-cannot/m-p/645785#M193079</guid>
      <dc:creator>rpellicaan</dc:creator>
      <dc:date>2020-05-07T06:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: MYEXCEL.BLAD2.DATA cannot be deleted because files cannot be deleted from the MYEXCEL lib</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-MYEXCEL-BLAD2-DATA-cannot-be-deleted-because-files-cannot/m-p/645794#M193083</link>
      <description>&lt;P&gt;I am not sure if we delete a sheet, we can empty the contents of the sheet.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 07:14:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-MYEXCEL-BLAD2-DATA-cannot-be-deleted-because-files-cannot/m-p/645794#M193083</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2020-05-07T07:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: MYEXCEL.BLAD2.DATA cannot be deleted because files cannot be deleted from the MYEXCEL lib</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-MYEXCEL-BLAD2-DATA-cannot-be-deleted-because-files-cannot/m-p/645818#M193092</link>
      <description>&lt;P&gt;You have limited support using the xlsx engine. Some features are not available on this engine. "&lt;A href="https://documentation.sas.com/?docsetId=acpcref&amp;amp;docsetTarget=n1t1gvr8q2u9xjn1bm1rpej2wkw9.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_self"&gt;Comparing SAS LIBNAME Engines for PC Files Data&lt;/A&gt;".&lt;BR /&gt;One option is to keep Excel files on a Windows machine with the "SAS PC File Server".&lt;BR /&gt;"&lt;A href="https://support.sas.com/downloads/package.htm?pid=2167" target="_self"&gt;SAS PC Files Server&lt;/A&gt;"&lt;BR /&gt;"&lt;A href="https://documentation.sas.com/api/docsets/pcfsicg/9.4/content/pcfsicg.pdf?locale=en" target="_self"&gt;SAS 9.4 PC Files Server: Installation and Configuration Guide&lt;/A&gt;"&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2020 11:00:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-MYEXCEL-BLAD2-DATA-cannot-be-deleted-because-files-cannot/m-p/645818#M193092</guid>
      <dc:creator>dcmacedo</dc:creator>
      <dc:date>2020-05-07T11:00:55Z</dc:date>
    </item>
  </channel>
</rss>

