<?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: Ods rtf Title in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Ods-rtf-Title/m-p/408809#M19729</link>
    <description>&lt;P&gt;You can have multiple titles and text. You can use ODS TEXT or PROC ODSTEXT to create your text/title.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 30 Oct 2017 17:37:08 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-10-30T17:37:08Z</dc:date>
    <item>
      <title>Ods rtf Title</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Ods-rtf-Title/m-p/408798#M19728</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am using&amp;nbsp; title statement with ods rtf in my program to make graphs with proc sgplot and sgpanel.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;ods&amp;nbsp; rtf file="mypath" notoc_data nogtitle nogfootnote;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;title height=4 color=black bold&amp;nbsp; "&amp;amp;title"&amp;nbsp; height =1 j=c justify=right&amp;nbsp; j=left&amp;nbsp; "%sysfunc(data(),mmddyy10.)";&lt;/EM&gt;&lt;/STRONG&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;EM&gt;Proc sgplot data=mydata ........&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have many pages in my output with the same title wich is normal.&lt;/P&gt;&lt;P&gt;Can you tell me if there is an option or statement to have "&amp;amp;title" for the first page with graphics&amp;nbsp; and "Figure&amp;amp;title" for the other ones after the first break ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help.&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2017 16:59:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Ods-rtf-Title/m-p/408798#M19728</guid>
      <dc:creator>DevUser</dc:creator>
      <dc:date>2017-10-30T16:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Ods rtf Title</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Ods-rtf-Title/m-p/408809#M19729</link>
      <description>&lt;P&gt;You can have multiple titles and text. You can use ODS TEXT or PROC ODSTEXT to create your text/title.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2017 17:37:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Ods-rtf-Title/m-p/408809#M19729</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-10-30T17:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: Ods rtf Title</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Ods-rtf-Title/m-p/409011#M19731</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help, but i can't define multiple title because all graphics are generated by the same sgplot statement.&lt;/P&gt;&lt;P&gt;i'm looking about an option to put in my ods rtf in order to have "&amp;amp;title" as a title of the first page and "Figure&amp;amp;title" for&amp;nbsp; the other pages after breaking.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 09:05:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Ods-rtf-Title/m-p/409011#M19731</guid>
      <dc:creator>DevUser</dc:creator>
      <dc:date>2017-10-31T09:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: Ods rtf Title</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Ods-rtf-Title/m-p/409137#M19734</link>
      <description>&lt;P&gt;Hi:&lt;BR /&gt; You can only use a TITLE statement or ODS TEXT between steps. If you want a different title on the first page, then you'll need to have 1 PROC step for the first page and have a different title for the second and subsequent pages, as shown below.&lt;BR /&gt;&lt;BR /&gt;Cynthia&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diff_title_page2.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/16353iC2E92ADCC9DC9BC1/image-size/large?v=v2&amp;amp;px=999" role="button" title="diff_title_page2.png" alt="diff_title_page2.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's the code (I cleaned up your TITLE statement -- you had too many justify options and I prefer to specify the font in PT size for RTF):&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;** create different title macro variables;
%let title=Wombat for Page 1;
%let figuretitle=Koala for Other pages;

** only use 4 regions;
proc sort data=sashelp.shoes out=shoes;
by region product;
where region in ('Asia', 'Canada', 'Eastern Europe', 'Western Europe');
run;

options nodate nonumber orientation=portrait 
        rightmargin=.5in leftmargin=.5in;
		  
ods rtf file='c:\temp\mult_title.rtf' nogtitle nogfootnote;
** for page 1;
title height=14pt color=black bold  j=c "&amp;amp;title"   
      height=10pt j=right  "%sysfunc(date(),mmddyy10.)";

proc sgplot data=shoes;
  where region = 'Asia';
  by region;
  vbar product / response=sales group=product;
run;
  
** for other pages;
title height=14pt color=black bold j=c  "&amp;amp;figuretitle"  
      height=10pt j=right   "%sysfunc(date(),mmddyy10.)";
  
proc sgplot data=shoes;
  where region ne 'Asia';
  by region;
  vbar product / response=sales group=product;
run;
ods rtf close;

&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 31 Oct 2017 14:36:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Ods-rtf-Title/m-p/409137#M19734</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-10-31T14:36:11Z</dc:date>
    </item>
  </channel>
</rss>

