<?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: PNG Image files generated have filenames that end with &amp;quot;1' in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/PNG-Image-files-generated-have-filenames-that-end-with-quot-1/m-p/457939#M15777</link>
    <description>&lt;P&gt;I was able to solve it by adding&lt;/P&gt;&lt;P&gt;ODS _ALL_ close;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to the top.&lt;/P&gt;</description>
    <pubDate>Thu, 26 Apr 2018 20:06:28 GMT</pubDate>
    <dc:creator>phdism</dc:creator>
    <dc:date>2018-04-26T20:06:28Z</dc:date>
    <item>
      <title>PNG Image files generated have filenames that end with "1'</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PNG-Image-files-generated-have-filenames-that-end-with-quot-1/m-p/457907#M15770</link>
      <description>&lt;P&gt;I am generating png image files that I want to have standard naming convention. However the files that get generated have names that&amp;nbsp; end with "1". I know that should happen if there is more than one times the image is generated, so that the first time it is called "image.png" and the second time "image1.png." But this happened&amp;nbsp;even if there is one call, and&amp;nbsp;even if there are no other image files in the folder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found a previous thread that had similar issue, and it was solved by adding "ods&amp;nbsp;html close" to the top. I added this statement, but it did not help. Below I am listing the code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;%macro&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; dograph(AgeorDate,loantype);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ODS HTML CLOSE;&lt;/P&gt;&lt;P&gt;ODS PDF CLOSE;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods graphics on /&lt;/P&gt;&lt;P&gt;outputfmt= png&lt;/P&gt;&lt;P&gt;imagemap = on&lt;/P&gt;&lt;P&gt;reset = all&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;imagename=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"IJMy"&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;border=on&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;width=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;6.75&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;in &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;height=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;5.25&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;in;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;ods listing gpath=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"/sasmart/zkydmjo/IJGraph"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC SGPANEL DATA=lalas;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;PANELBY gender /SPACING=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;3&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt; novarname;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;series y=smm x=&amp;amp;AgeorDate /&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;MARKERS MARKERATTRS = (SYMBOL = CircleFilled COLOR = black SIZE = &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;5&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LINEATTRS = (COLOR = black PATTERN = SOLID);&lt;/P&gt;&lt;P&gt;series y=fit x=&amp;amp;AgeorDate /&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;MARKERS MARKERATTRS = (SYMBOL = circle COLOR = green SIZE = &lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT color="#008080" face="Courier New" size="3"&gt;5&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LINEATTRS = (COLOR = green PATTERN = SOLID);&lt;/P&gt;&lt;P&gt;COLAXIS grid;&lt;/P&gt;&lt;P&gt;ROWAXIS grid;&lt;/P&gt;&lt;P&gt;RUN;&lt;/P&gt;&lt;P&gt;ods listing close;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;%mend&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; dograph;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%&lt;STRONG&gt;&lt;I&gt;dograph&lt;/I&gt;&lt;/STRONG&gt;(loanage, loc);&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2018 19:36:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PNG-Image-files-generated-have-filenames-that-end-with-quot-1/m-p/457907#M15770</guid>
      <dc:creator>phdism</dc:creator>
      <dc:date>2018-04-26T19:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: PNG Image files generated have filenames that end with "1'</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PNG-Image-files-generated-have-filenames-that-end-with-quot-1/m-p/457931#M15775</link>
      <description>&lt;P&gt;Try to define gpath before requesting reset=all and imagename=.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2018 19:54:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PNG-Image-files-generated-have-filenames-that-end-with-quot-1/m-p/457931#M15775</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2018-04-26T19:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: PNG Image files generated have filenames that end with "1'</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PNG-Image-files-generated-have-filenames-that-end-with-quot-1/m-p/457934#M15776</link>
      <description>&lt;P&gt;Thank you. I have already tried to switch the line "ods listing gpath = "...."&amp;nbsp; to be above the statement "ods graphics on /". However that did not help.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2018 19:56:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PNG-Image-files-generated-have-filenames-that-end-with-quot-1/m-p/457934#M15776</guid>
      <dc:creator>phdism</dc:creator>
      <dc:date>2018-04-26T19:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: PNG Image files generated have filenames that end with "1'</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/PNG-Image-files-generated-have-filenames-that-end-with-quot-1/m-p/457939#M15777</link>
      <description>&lt;P&gt;I was able to solve it by adding&lt;/P&gt;&lt;P&gt;ODS _ALL_ close;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to the top.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2018 20:06:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/PNG-Image-files-generated-have-filenames-that-end-with-quot-1/m-p/457939#M15777</guid>
      <dc:creator>phdism</dc:creator>
      <dc:date>2018-04-26T20:06:28Z</dc:date>
    </item>
  </channel>
</rss>

