<?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: Custom image names in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Custom-image-names/m-p/49026#M6330</link>
    <description>Thank you, Olivier. I tried your suggestion and it seems to be working well (on SAS 9.1).

Message was edited by: xatta</description>
    <pubDate>Tue, 23 Sep 2008 14:49:46 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2008-09-23T14:49:46Z</dc:date>
    <item>
      <title>Custom image names</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Custom-image-names/m-p/49024#M6328</link>
      <description>Hi, is there a way to turn off the automatic numbering of images in my ods output? I know I can change the base of the file name with the name= option. But I would like to create a series of images called "widget", "thing", and "another", but not "widget0", "thing1", and "another2".</description>
      <pubDate>Tue, 23 Sep 2008 10:55:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Custom-image-names/m-p/49024#M6328</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-09-23T10:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Custom image names</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Custom-image-names/m-p/49025#M6329</link>
      <description>Hi.&lt;BR /&gt;
The reason why numbers are added at the end of the name is that SAS recalls that it has already given such a name. Its memory consists of catalogs in WORK (or wherever you said it was, using the option GOUT in your graphic procedure).&lt;BR /&gt;
If you run 9.1 or 8.2, the only requirement is to add at the beginning of your code&lt;BR /&gt;
[pre]&lt;BR /&gt;
PROC CATALOG CAT=work.gseg KILL ;&lt;BR /&gt;
RUN ; QUIT ;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
It will clear all memory of creating images with the name you want to use.&lt;BR /&gt;
&lt;BR /&gt;
Testing the following code in SAS 9.2, &lt;BR /&gt;
[pre]&lt;BR /&gt;
ODS HTML GPATH="c:\temp" ;&lt;BR /&gt;
PROC GPLOT DATA=sashelp.class ;&lt;BR /&gt;
	PLOT weight * height / NAME="widget" ;&lt;BR /&gt;
RUN ; QUIT ;&lt;BR /&gt;
ODS HTML CLOSE ;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
it appeared that killing the GSEG catalog was not enough : there was a copy of the names in a HTML catalog, located in WORK either. That looks strange (because I don't remember SAS ever behaving this way... by the way, you 9.2 guys, am I missing something at this point ???), but anyway, when you get reed of BOTH catalogs, that works out fine.&lt;BR /&gt;
So try :&lt;BR /&gt;
[pre]&lt;BR /&gt;
PROC CATALOG CAT=work.gseg KILL ;&lt;BR /&gt;
RUN ; QUIT ;&lt;BR /&gt;
PROC CATALOG CAT=work.html KILL ;&lt;BR /&gt;
RUN ; QUIT ;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
before your favorite G procedure to create images with the correct name.&lt;BR /&gt;
Regards,&lt;BR /&gt;
Olivier</description>
      <pubDate>Tue, 23 Sep 2008 11:10:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Custom-image-names/m-p/49025#M6329</guid>
      <dc:creator>Olivier</dc:creator>
      <dc:date>2008-09-23T11:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: Custom image names</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Custom-image-names/m-p/49026#M6330</link>
      <description>Thank you, Olivier. I tried your suggestion and it seems to be working well (on SAS 9.1).

Message was edited by: xatta</description>
      <pubDate>Tue, 23 Sep 2008 14:49:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Custom-image-names/m-p/49026#M6330</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-09-23T14:49:46Z</dc:date>
    </item>
  </channel>
</rss>

