<?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: title in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/title/m-p/47129#M6142</link>
    <description>If both titles are showing on the first step, check that there is a RUN; between the REPORT step and the second title definition.&lt;BR /&gt;
&lt;BR /&gt;
If you want the second title to replace the first, be sure to use TITLE1 not TITLE2. &lt;BR /&gt;
&lt;BR /&gt;
Double check the ODS destinations to make sure that you are not mixing the destination and the file extension.&lt;BR /&gt;
&lt;BR /&gt;
 The following will show only the first title for the REPORT step and both for the PRINT.&lt;BR /&gt;
[pre]ods html file="c:\temp\twotitl.html";&lt;BR /&gt;
ods pdf file="c:\temp\twotitl.pdf";&lt;BR /&gt;
&lt;BR /&gt;
title1 "report title";&lt;BR /&gt;
Proc report data=sashelp.class nowd;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
title2 "print title";&lt;BR /&gt;
proc print data =sashelp.class;&lt;BR /&gt;
run;&lt;BR /&gt;
ods _all_ close;</description>
    <pubDate>Wed, 08 Dec 2010 20:31:20 GMT</pubDate>
    <dc:creator>ArtC</dc:creator>
    <dc:date>2010-12-08T20:31:20Z</dc:date>
    <item>
      <title>title</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/title/m-p/47128#M6141</link>
      <description>i had an issue with the title statement. &lt;BR /&gt;
&lt;BR /&gt;
in a ODS output i have &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
ods pdf file=" html file";&lt;BR /&gt;
&lt;BR /&gt;
title1"report title";&lt;BR /&gt;
&lt;BR /&gt;
Proc report data=drugA ;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
title2 "print title";&lt;BR /&gt;
&lt;BR /&gt;
proc print data =DrugB;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
ods _all_ close;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
but in the output i am getting both the titles on the top of the report only....i want title1 to be at the top of report and title2 to be on top of print output.&lt;BR /&gt;
&lt;BR /&gt;
is there any other way to get the output witht the titles in the required location.&lt;BR /&gt;
&lt;BR /&gt;
 thanks&lt;BR /&gt;
Sid</description>
      <pubDate>Wed, 08 Dec 2010 18:10:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/title/m-p/47128#M6141</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-12-08T18:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: title</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/title/m-p/47129#M6142</link>
      <description>If both titles are showing on the first step, check that there is a RUN; between the REPORT step and the second title definition.&lt;BR /&gt;
&lt;BR /&gt;
If you want the second title to replace the first, be sure to use TITLE1 not TITLE2. &lt;BR /&gt;
&lt;BR /&gt;
Double check the ODS destinations to make sure that you are not mixing the destination and the file extension.&lt;BR /&gt;
&lt;BR /&gt;
 The following will show only the first title for the REPORT step and both for the PRINT.&lt;BR /&gt;
[pre]ods html file="c:\temp\twotitl.html";&lt;BR /&gt;
ods pdf file="c:\temp\twotitl.pdf";&lt;BR /&gt;
&lt;BR /&gt;
title1 "report title";&lt;BR /&gt;
Proc report data=sashelp.class nowd;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
title2 "print title";&lt;BR /&gt;
proc print data =sashelp.class;&lt;BR /&gt;
run;&lt;BR /&gt;
ods _all_ close;</description>
      <pubDate>Wed, 08 Dec 2010 20:31:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/title/m-p/47129#M6142</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2010-12-08T20:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: title</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/title/m-p/47130#M6143</link>
      <description>Thanks for the reply &lt;BR /&gt;
i am using ods pdf startpage=no option in between...so that i will get both the report output and print output in the same page....if i dont use that as u said i am getting them with titles in different pages.Sorry for the confusion&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thanks &lt;BR /&gt;
Sid</description>
      <pubDate>Wed, 08 Dec 2010 20:59:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/title/m-p/47130#M6143</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-12-08T20:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: title</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/title/m-p/47131#M6144</link>
      <description>With startpage=no the second title1 statement will not appear until the second physical page.  If for instance the second proc spills onto a second page - as below.&lt;BR /&gt;
&lt;BR /&gt;
Consider using the ODS PDF TEXT= option.&lt;BR /&gt;
[pre]*ods html file="c:\temp\twotitl.html";&lt;BR /&gt;
ods pdf file="c:\temp\twotitl.pdf";&lt;BR /&gt;
ods pdf text='abc';&lt;BR /&gt;
title1 "report title";&lt;BR /&gt;
Proc report data=sashelp.class nowd;&lt;BR /&gt;
run;&lt;BR /&gt;
ods pdf startpage = no;&lt;BR /&gt;
ods pdf text='def';&lt;BR /&gt;
title1 "print title";&lt;BR /&gt;
proc print data =sashelp.class;&lt;BR /&gt;
run;&lt;BR /&gt;
ods _all_ close;[/pre]</description>
      <pubDate>Wed, 08 Dec 2010 21:25:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/title/m-p/47131#M6144</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2010-12-08T21:25:42Z</dc:date>
    </item>
  </channel>
</rss>

