<?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: ZIP entry duplicate name in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/ERROR-ZIP-entry-duplicate-name/m-p/522893#M4538</link>
    <description>&lt;P&gt;It's caused by the&lt;/P&gt;
&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;&lt;SPAN class="token statement"&gt;ods&lt;/SPAN&gt; &lt;SPAN class="token keyword"&gt;graphics&lt;/SPAN&gt; &lt;SPAN class="token operator"&gt;/&lt;/SPAN&gt; &lt;SPAN class="token keyword"&gt;reset&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;It resets the base graphic filename, so it tries to write to the same file. Use a specific reset here, resetting only the options you want changed.&lt;/P&gt;</description>
    <pubDate>Thu, 20 Dec 2018 16:16:26 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2018-12-20T16:16:26Z</dc:date>
    <item>
      <title>ERROR: ZIP entry duplicate name</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-ZIP-entry-duplicate-name/m-p/522885#M4536</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;I am using SAS University Edition, trying to export charts and graphs to multiple sheets on an excel file called "Final_Report_2013.xlsx".&lt;/P&gt;&lt;P&gt;On the first try of creating a single sheet, then again for 2 sheets, it worked fine, but later when I am tried for the complete report I get the message:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;NOTE: Writing EXCEL file: /folders/myfolders/Final_Report_2013.xlsx
 ERROR: ZIP entry duplicate name: xl/media/SGPlot.png.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Initially I thought since that file already exists, hence 'duplicate name', but even after deleting it, or changing the new file name,&amp;nbsp;I get the same error. Below I have keyed in the initial part of the code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods excel file= "/folders/myfolders/Final_Report_2013.xlsx" options (sheet_name = "Change in Price across Months");
ods graphics / reset width=8.0in height=6.0in imagemap;
proc sgplot data=WORK.PRICE_VS_MONTHS;
	title "Variation of Laptop Configuration Prices Over Time";
	vline month / response=retail_price group=configuration curvelabel stat=mean;
	yaxis grid;
run;
ods graphics / reset;
ods excel options (sheet_name = "Variance in price of Laptops across Months");
title 'Variance in price of Laptops across Months';
title " Configuration = 12"; /* Key in the configuration as above */
proc sgplot data=sample_product;
  vbar Month / response= Retail_Price
           barwidth=1.0 fillattrs=graphdata2;
run;&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.
ods excel close;&lt;/CODE&gt;&lt;/PRE&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;Can someone help me out on this Please?&lt;/DIV&gt;</description>
      <pubDate>Thu, 20 Dec 2018 15:35:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-ZIP-entry-duplicate-name/m-p/522885#M4536</guid>
      <dc:creator>aboral</dc:creator>
      <dc:date>2018-12-20T15:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: ZIP entry duplicate name</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-ZIP-entry-duplicate-name/m-p/522893#M4538</link>
      <description>&lt;P&gt;It's caused by the&lt;/P&gt;
&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;&lt;SPAN class="token statement"&gt;ods&lt;/SPAN&gt; &lt;SPAN class="token keyword"&gt;graphics&lt;/SPAN&gt; &lt;SPAN class="token operator"&gt;/&lt;/SPAN&gt; &lt;SPAN class="token keyword"&gt;reset&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;It resets the base graphic filename, so it tries to write to the same file. Use a specific reset here, resetting only the options you want changed.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2018 16:16:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-ZIP-entry-duplicate-name/m-p/522893#M4538</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-12-20T16:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: ZIP entry duplicate name</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-ZIP-entry-duplicate-name/m-p/522894#M4539</link>
      <description>Thank you Kurt for the response. I know this is going to be stupid, but let me ask you, when you say "Use a specific reset here", if you elaborate a bit more on it Please. Frankly I just learn recently about the graphs from graphicallyspeaking, copy pasted the codes making a few tweaks according to my requirements. Thank you in advance.</description>
      <pubDate>Thu, 20 Dec 2018 16:28:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-ZIP-entry-duplicate-name/m-p/522894#M4539</guid>
      <dc:creator>aboral</dc:creator>
      <dc:date>2018-12-20T16:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: ZIP entry duplicate name</title>
      <link>https://communities.sas.com/t5/New-SAS-User/ERROR-ZIP-entry-duplicate-name/m-p/522895#M4540</link>
      <description>&lt;P&gt;Why not just try removing the statement?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or add code to tell SAS what name to use for the graphics file?&amp;nbsp; Here is some old documentation that came up at top of Google search.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/documentation/cdl/en/statug/63347/HTML/default/viewer.htm#statug_odsgraph_sect031.htm" target="_blank"&gt;https://support.sas.com/documentation/cdl/en/statug/63347/HTML/default/viewer.htm#statug_odsgraph_sect031.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2018 16:36:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/ERROR-ZIP-entry-duplicate-name/m-p/522895#M4540</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2018-12-20T16:36:34Z</dc:date>
    </item>
  </channel>
</rss>

