<?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 ODS excel using proc document issues with sgplots in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel-using-proc-document-issues-with-sgplots/m-p/448710#M20711</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using SAS EG 7.13.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to output graphs from multiple different programs using the ODS document statement.&amp;nbsp; I am able to capture all of my graphs in the document and I am able to replay them with no issues.&amp;nbsp; The issue I am running into is trying to then output them to excel as PNG files.&amp;nbsp; here is my code:&lt;/P&gt;&lt;PRE&gt;ods excel file="my file path on sas server" options(embedded_titles='yes' sheet_name="output");

proc document name=pt_graphs;

replay;

quit;

ods excel close;&lt;/PRE&gt;&lt;P&gt;if I just run the proc document it works and displays fine but when I try and output it to excel I get a "zip duplicate entry name: xl/media/gmap.png" error.&amp;nbsp; If I try and run it again I get an "resource is write-locked by another thread" and I cant do anything&amp;nbsp;until I restart SAS EG.&amp;nbsp; Any help would be appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 26 Mar 2018 16:53:27 GMT</pubDate>
    <dc:creator>hulksmash</dc:creator>
    <dc:date>2018-03-26T16:53:27Z</dc:date>
    <item>
      <title>ODS excel using proc document issues with sgplots</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel-using-proc-document-issues-with-sgplots/m-p/448710#M20711</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using SAS EG 7.13.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to output graphs from multiple different programs using the ODS document statement.&amp;nbsp; I am able to capture all of my graphs in the document and I am able to replay them with no issues.&amp;nbsp; The issue I am running into is trying to then output them to excel as PNG files.&amp;nbsp; here is my code:&lt;/P&gt;&lt;PRE&gt;ods excel file="my file path on sas server" options(embedded_titles='yes' sheet_name="output");

proc document name=pt_graphs;

replay;

quit;

ods excel close;&lt;/PRE&gt;&lt;P&gt;if I just run the proc document it works and displays fine but when I try and output it to excel I get a "zip duplicate entry name: xl/media/gmap.png" error.&amp;nbsp; If I try and run it again I get an "resource is write-locked by another thread" and I cant do anything&amp;nbsp;until I restart SAS EG.&amp;nbsp; Any help would be appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Mar 2018 16:53:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel-using-proc-document-issues-with-sgplots/m-p/448710#M20711</guid>
      <dc:creator>hulksmash</dc:creator>
      <dc:date>2018-03-26T16:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: ODS excel using proc document issues with sgplots</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel-using-proc-document-issues-with-sgplots/m-p/448715#M20712</link>
      <description>&lt;P&gt;Looks like I solved my question but replying to help others.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was outputting two map graphs and in the ods document they were both named "gmap".&amp;nbsp; When it wrote to excel even with the "sheet_name=" option, excel assumed it had two sheets named the same thing.&amp;nbsp; I added a "name=" option to my sgplot and it fixed the issue however the excel output had each sheet name output1, output2&amp;nbsp;...outputn so my guess is SAS renames the sheets AFTER the proc document outputs with the default names.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Mar 2018 17:06:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-excel-using-proc-document-issues-with-sgplots/m-p/448715#M20712</guid>
      <dc:creator>hulksmash</dc:creator>
      <dc:date>2018-03-26T17:06:32Z</dc:date>
    </item>
  </channel>
</rss>

