<?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: Full width compute after text, in narrow report in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Full-width-compute-after-text-in-narrow-report/m-p/720934#M24883</link>
    <description>&lt;P&gt;Hi:&lt;BR /&gt;No, ODS TEXT strings appear only where placed-- essentially at the top of bottom of output, but not in the header or footer of the document. However, you can get more than 10 footnotes in a document using the ESCAPECHAR + {newline}. But, as shown below, 20 TITLES and 20 FOOTNOTES don't leave much room for anything else in the report.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_0-1614008110875.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/55028i1555723E28DA4DEE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_0-1614008110875.png" alt="Cynthia_sas_0-1614008110875.png" /&gt;&lt;/span&gt;&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;&lt;BR /&gt;Cynthia&lt;/P&gt;</description>
    <pubDate>Mon, 22 Feb 2021 15:35:43 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2021-02-22T15:35:43Z</dc:date>
    <item>
      <title>Full width compute after text, in narrow report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Full-width-compute-after-text-in-narrow-report/m-p/720498#M24878</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a fairly narrow report, with just 3 short columns.&amp;nbsp; However I want to add a longer piece of text at the end.&amp;nbsp; Below is some partial code.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc template;
     define style styles.myrtf;
       parent=styles.rtf;
       style Table from output /
         Background=_UNDEF_
         Rules=groups
         Frame=above
         OUTPUTWIDTH=_undef_
         CELLPADDING=0
         CELLSPACING=0 
         bordertopstyle=solid
         bordertopcolor=black;
    end;
  run;
 
 
PROC REPORT data=adsl nowd headline headskip missing split='#';
  COLUMNS subjid arm trtsdt ;  
  
  DEFINE subjid / order order=data  " "  style={just=l  cellwidth=4cm asis=on};
  DEFINE arm /  style={just=l cellwidth=4cm asis=on};
  DEFINE trtsdt /  style={just=l cellwidth=4cm asis=on };
  
    COMPUTE after _page_;  
      LINE j=l "xxx xxxxxxxx xx xxx xxxxxx xxxxxxxxx xxx xxxxxxxxxx, xx xxx 1 xx xxxxx xxx xx xxxxxxxxx xxxxxx. xxxxxxxx xxxx xx xxxxxxxxx xxxxxx xx xx xxxxxxxx xxxx xxx xxxxxxxx xx xxx 1,";
  ENDCOMP;

RUN;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Now the table can be quite long,&amp;nbsp; and we are using the compute after to add footnotes as we have a lot of them.&amp;nbsp; Hence I would like to be able to span these the full of the page.&amp;nbsp; I know I could set outputwidth=100% in the template, but this would also stretch the 3 columns over the full width of the page.&amp;nbsp; Is there any way around this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;n.b. I know I am missing the ODS RTF statements, but these are in company macros so I removed them for clarity.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Feb 2021 16:06:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Full-width-compute-after-text-in-narrow-report/m-p/720498#M24878</guid>
      <dc:creator>SwissC</dc:creator>
      <dc:date>2021-02-19T16:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: Full width compute after text, in narrow report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Full-width-compute-after-text-in-narrow-report/m-p/720673#M24880</link>
      <description>Hi:&lt;BR /&gt;  Anything you write with a LINE statement must stay within the boundary of the table. So what you want is not possible without stretching the entire table. The LINE statement cannot stretch from margin to margin if the table itself does not stretch from margin to margin. Or to put it another way, the report table cannot be 4 inches wide but you want the LINE output to be 7 inches wide. Both have to be either 4 inches or 7 inches.&lt;BR /&gt;  &lt;BR /&gt;  You should look at using regular FOOTNOTE statements or ODS TEXT statements to insert text after a table. The FOOTNOTE automatically is centered on the page width, not the table width. The ODS TEXT can be made to stretch from margin to margin. By default is it left justified, so you might need to change your template to format the ODS TEXT element to have the characteristics and justification you wanted.&lt;BR /&gt;  &lt;BR /&gt;Cynthia</description>
      <pubDate>Sat, 20 Feb 2021 21:04:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Full-width-compute-after-text-in-narrow-report/m-p/720673#M24880</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2021-02-20T21:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: Full width compute after text, in narrow report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Full-width-compute-after-text-in-narrow-report/m-p/720849#M24881</link>
      <description>&lt;P&gt;Thanks for the reply Cynthia,&lt;/P&gt;
&lt;P&gt;Unfortunately I have a multiple page table with &amp;gt;10 footnotes so the FOOTNOTE option will not work.&amp;nbsp; Is there any way to get an ODS TEXT statement to print into the footer of the RTF so that&amp;nbsp; it appears on each page?&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 08:08:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Full-width-compute-after-text-in-narrow-report/m-p/720849#M24881</guid>
      <dc:creator>SwissC</dc:creator>
      <dc:date>2021-02-22T08:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: Full width compute after text, in narrow report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Full-width-compute-after-text-in-narrow-report/m-p/720934#M24883</link>
      <description>&lt;P&gt;Hi:&lt;BR /&gt;No, ODS TEXT strings appear only where placed-- essentially at the top of bottom of output, but not in the header or footer of the document. However, you can get more than 10 footnotes in a document using the ESCAPECHAR + {newline}. But, as shown below, 20 TITLES and 20 FOOTNOTES don't leave much room for anything else in the report.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Cynthia_sas_0-1614008110875.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/55028i1555723E28DA4DEE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Cynthia_sas_0-1614008110875.png" alt="Cynthia_sas_0-1614008110875.png" /&gt;&lt;/span&gt;&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;&lt;BR /&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 15:35:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Full-width-compute-after-text-in-narrow-report/m-p/720934#M24883</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2021-02-22T15:35:43Z</dc:date>
    </item>
  </channel>
</rss>

