<?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: Issues with BODYTITLE_AUX in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Issues-with-BODYTITLE-AUX/m-p/306469#M17217</link>
    <description>&lt;P&gt;I'm confused. You can't use #byval1 like you do without having a BY statement. What/where is the BY statement in your Tabulate???&lt;BR /&gt;&lt;BR /&gt;Next, the TITLE1 with the logo instruction would be replaced by the TITLE1 inside the TABULATE step. Should the TABULATE title be&amp;nbsp; TITLE2???&lt;BR /&gt;&lt;BR /&gt;cynthia&lt;/P&gt;</description>
    <pubDate>Fri, 21 Oct 2016 22:19:00 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2016-10-21T22:19:00Z</dc:date>
    <item>
      <title>Issues with BODYTITLE_AUX</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Issues-with-BODYTITLE-AUX/m-p/306449#M17214</link>
      <description>&lt;P&gt;Hi everyone, I need help with ODS rtf and the&amp;nbsp;BODYTITLE_AUX option. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Client wants a condensed report so we try to fit two or more tables on one page, thus needing to use &lt;SPAN&gt;BODYTITLE_AUX so the titles are not embeded within the header of the RTF file. &amp;nbsp;I can't&amp;nbsp;use ODS text for titles, because we generate many tables by class, and I use "title2 '#byval1'" and #byval2, which I don't believe can be achieved using ODS text.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However I ran into some issues with bodytitle_aux:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1) Page numbers are no longer working. &amp;nbsp;It just shows "Page &amp;nbsp; of &amp;nbsp; &amp;nbsp; " , with no numbers. =(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2) The logo and footer are being displayed multiple times, which looks really strange. &amp;nbsp;We just want it once per page.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have included a sample of my code below (with a dummy dataset). Perhaps someone can point out what I am missing in my code since I'm new to proc tabulate. &amp;nbsp;Thanks so much for your help!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ODS RESULTS OFF;
options orientation=portrait NODATE NOSTIMER NONUMBER NOBYLINE;
ods rtf file="&amp;amp;root.\Output\test_&amp;amp;SYSDATE9..rtf" startpage=no BODYTITLE_AUX cssstyle="&amp;amp;root.\style.css";
ods escapechar='^';
title1 j=center '^S={preimage="&amp;amp;root.\logo.jpg"}';
footnote j=left 'Name' j=center 'Page ^{pageof}' j=right "Last Revised: &amp;amp;SYSDATE9.";
proc tabulate data=sashelp.shoes;
  title1 '#byval1';
  where region in ('Asia', 'Canada','Pacific') and
        product in ('Boot', 'Slipper' );
  class product region;
  var sales;
  table region * (product all),
        sales*(n);
run;
proc tabulate data=sashelp.shoes;
  title1 '#byval1';
  where region in ('Asia', 'Canada','Pacific') and
        product in ('Boot', 'Slipper' );
  class product region;
  var sales;
  table region * (product all),
        sales*(n);
run;
ods rtf close;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2016 20:58:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Issues-with-BODYTITLE-AUX/m-p/306449#M17214</guid>
      <dc:creator>lin39</dc:creator>
      <dc:date>2016-10-21T20:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with BODYTITLE_AUX</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Issues-with-BODYTITLE-AUX/m-p/306469#M17217</link>
      <description>&lt;P&gt;I'm confused. You can't use #byval1 like you do without having a BY statement. What/where is the BY statement in your Tabulate???&lt;BR /&gt;&lt;BR /&gt;Next, the TITLE1 with the logo instruction would be replaced by the TITLE1 inside the TABULATE step. Should the TABULATE title be&amp;nbsp; TITLE2???&lt;BR /&gt;&lt;BR /&gt;cynthia&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2016 22:19:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Issues-with-BODYTITLE-AUX/m-p/306469#M17217</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2016-10-21T22:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: Issues with BODYTITLE_AUX</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Issues-with-BODYTITLE-AUX/m-p/307158#M17234</link>
      <description>&lt;P&gt;Thanks so much, Cynthia. &amp;nbsp;Sorry, I used a dummy SAS code due to confidentially issues. &amp;nbsp;The real SAS code does have a by class statement in the Proc Tabulate so no worries.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried embedding Title1 within the Tabulate step but this does not solve my problem. &amp;nbsp;My problem is the Logo is now printed multiple times per page. &amp;nbsp;I would like it to be printed once per page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My other issue is with the footer not displaying the page number when bodytitle_aux option is used. &amp;nbsp;It just prints, "Page &amp;nbsp;of &amp;nbsp; &amp;nbsp;". &amp;nbsp;What should I do?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks so much again. &lt;img id="cathappy" class="emoticon emoticon-cathappy" src="https://communities.sas.com/i/smilies/16x16_cat-happy.png" alt="Cat Happy" title="Cat Happy" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 15:22:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Issues-with-BODYTITLE-AUX/m-p/307158#M17234</guid>
      <dc:creator>lin39</dc:creator>
      <dc:date>2016-10-25T15:22:33Z</dc:date>
    </item>
  </channel>
</rss>

