<?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 Naming SGE files in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Naming-SGE-files/m-p/580740#M18676</link>
    <description>&lt;P&gt;Is there a way to name SGE files produced in ODS?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; 
ODS graphics on;
ODS RTF file="C:/Users/SwissC/kmplot.rtf" sge=on;
ODS select SurvivalPlot;
 
PROC LIFETEST data=a PLOTS=survival …...
RUN;
 
ODS graphics off;
ODS RTF close sge=off;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now using the above I get a SGE file called SurvivalPlot_RTF.sge.&amp;nbsp; Is there a way to get the file named kmplot.sge?&amp;nbsp; I am sure I could do some rename statements to rename the file but I am not sure if that is allowed on our system.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* There are possible syntax errors in the code above as it is not copy and pasted from my SAS session.&lt;/P&gt;</description>
    <pubDate>Tue, 13 Aug 2019 09:18:02 GMT</pubDate>
    <dc:creator>SwissC</dc:creator>
    <dc:date>2019-08-13T09:18:02Z</dc:date>
    <item>
      <title>Naming SGE files</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Naming-SGE-files/m-p/580740#M18676</link>
      <description>&lt;P&gt;Is there a way to name SGE files produced in ODS?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; 
ODS graphics on;
ODS RTF file="C:/Users/SwissC/kmplot.rtf" sge=on;
ODS select SurvivalPlot;
 
PROC LIFETEST data=a PLOTS=survival …...
RUN;
 
ODS graphics off;
ODS RTF close sge=off;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now using the above I get a SGE file called SurvivalPlot_RTF.sge.&amp;nbsp; Is there a way to get the file named kmplot.sge?&amp;nbsp; I am sure I could do some rename statements to rename the file but I am not sure if that is allowed on our system.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* There are possible syntax errors in the code above as it is not copy and pasted from my SAS session.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2019 09:18:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Naming-SGE-files/m-p/580740#M18676</guid>
      <dc:creator>SwissC</dc:creator>
      <dc:date>2019-08-13T09:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: Naming SGE files</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Naming-SGE-files/m-p/585268#M18800</link>
      <description>&lt;P&gt;You can use the IMAGENAME option on the ODS GRAPHICS statement to specify the base name.&amp;nbsp; SAS then adds an underscore followed by the name of the destination.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I used the first PROC LIFETEST in &lt;A href="https://go.documentation.sas.com/api/docsets/statug/15.1/content/statug_code_liftex2.htm?locale=en" target="_blank" rel="noopener"&gt;the online documentation example 2&lt;/A&gt; as example code below.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The code below produces kmplot_RTF.sge.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics on / imagename="kmplot"
                  reset=index;

ODS RTF file="/folders/myfolders/ODS RTF/kmplot.rtf" sge=on;

ODS select SurvivalPlot;

proc lifetest data=sashelp.BMT plots=survival(atrisk=0 to 2500 by 500);
   time T * Status(0);
   strata Group / test=logrank adjust=sidak;
run;

ODS RTF close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2019 16:11:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Naming-SGE-files/m-p/585268#M18800</guid>
      <dc:creator>SuzanneDorinski</dc:creator>
      <dc:date>2019-08-30T16:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: Naming SGE files</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Naming-SGE-files/m-p/586039#M18819</link>
      <description>&lt;P&gt;Cheers, but this still results in a SAS supllied suffix I would rather not have.&amp;nbsp; In any case it is now not an issue as the client will not accept the sge image.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2019 10:04:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Naming-SGE-files/m-p/586039#M18819</guid>
      <dc:creator>SwissC</dc:creator>
      <dc:date>2019-09-04T10:04:14Z</dc:date>
    </item>
  </channel>
</rss>

