<?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: remove numbering of filename in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/remove-numbering-of-filename/m-p/706925#M24762</link>
    <description>&lt;P&gt;You can try this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics/reset=index;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This should not append a digit on the end of the filename for the first graph produced. The next graph produced will have a number appended, I am not aware of any way to stop that from happening.&lt;/P&gt;</description>
    <pubDate>Fri, 18 Dec 2020 11:50:17 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2020-12-18T11:50:17Z</dc:date>
    <item>
      <title>remove numbering of filename</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/remove-numbering-of-filename/m-p/706896#M24761</link>
      <description>&lt;P&gt;Hi I have this code for a SGPLOT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let numdate = %sysfunc(today(), yymmddn8.);
Ods listing gpath="F:\Folder";
ods graphics / imagename="Test_&amp;amp;numdate." imagefmt=png;
options orientation=landscape;
ods noproctitle;

PROC SGPLOT DATA = new PCTLEVEL=GROUP NOBORDER NOWALL NOCYCLEATTRS;
VBAR KMA / GROUP = myint stat= percent NOOUTLINE;       
TITLE 'Svartider i sundhedssporet per region for den foregående uge';
keylegend / title="";
XAXIS DISPLAY=(NOLABEL);
YAXIS DISPLAY=(NOLABEL);
FORMAT myint intervalfmt.;
styleattrs DATACOLORS=(LightBlue STEEL Mistyrose FireBrick);
RUN; 
ODS LISTING CLOSE;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;When it is saved in the folder it will always be: test_(todaysdate)1&lt;/P&gt;&lt;P&gt;it will always put a number behind the date, i just want the date without numbering.&lt;/P&gt;&lt;P&gt;Is that possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another question when it comes to that:&lt;/P&gt;&lt;P&gt;I have this code for sending out e-mails&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename outbox email
      from=("test@test.dk")
	  to=("test@test.dk")
	  type='text/html'
	  subject='testt'
	  attach=("F:\Folder\Test_202012112.png" ct='png')
	  attach=("F:\Folder\\test_202012112.xlsx" content_type="excel")
ods html body=outbox rs=none style=Htmlblue;

run;
ods html close;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Is there a function in SAS where it can by it self find the newest file ? instead of writing files manually in the email code&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 07:45:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/remove-numbering-of-filename/m-p/706896#M24761</guid>
      <dc:creator>mmea</dc:creator>
      <dc:date>2020-12-18T07:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: remove numbering of filename</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/remove-numbering-of-filename/m-p/706925#M24762</link>
      <description>&lt;P&gt;You can try this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics/reset=index;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This should not append a digit on the end of the filename for the first graph produced. The next graph produced will have a number appended, I am not aware of any way to stop that from happening.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 11:50:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/remove-numbering-of-filename/m-p/706925#M24762</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-12-18T11:50:17Z</dc:date>
    </item>
  </channel>
</rss>

