<?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 question in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-rtf-question/m-p/329769#M17871</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As an alternate method you could make use of the "COMPUTE AFTER" block. Using this method the text is written as part of the table, and is therefor part of the table measuring, see sample code below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;title;
ods rtf file="C:\temp\rtf111.rtf";
ods escapechar="^";
proc report data=sashelp.cars (obs=36) nocenter;
column rowid Make Model;
define rowid / computed;
compute rowid;
  _rowId + 1;
  rowId = _rowId;
endcomp;

compute after / style={just=left};
  length msgline $ 1024;
  msgline = "line1 ^n line2 ^n line3  ^n line 4 ^n line 5 ^n line 6";
  l = length(msgline);
  line msgLine $varying1024. l;
endcomp;
run;
/*ods text="^S={leftmargin=1in}line1 ^n line2 ^n line3  ^n line 4 ^n line 5 ^n line 6";*/
ods rtf close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Bruno&lt;/P&gt;</description>
    <pubDate>Fri, 03 Feb 2017 13:22:03 GMT</pubDate>
    <dc:creator>BrunoMueller</dc:creator>
    <dc:date>2017-02-03T13:22:03Z</dc:date>
    <item>
      <title>ODS rtf question</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-rtf-question/m-p/329688#M17868</link>
      <description>&lt;P&gt;Below is my code. The &amp;nbsp;last page of rtf output&amp;nbsp;has a blank table row title. How Can I remove that title? Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;title;&lt;BR /&gt;ods rtf file="C:\Users\XXXX\Desktop\111.rtf";&lt;BR /&gt;ods escapechar="^";&lt;BR /&gt;proc report data=sashelp.cars (obs=426);&lt;BR /&gt;column Make Model;&lt;BR /&gt;run;&lt;BR /&gt;ods rtf text="^S={leftmargin=1in}Dollar ^nsexcept&lt;BR /&gt;as ^naaano^ntedas ^nno^ntedas ^nno^ntedas ^nno^ntedas ^nno^ntedas ^nno^nte";&lt;BR /&gt;ods rtf close;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13404i1AFFA8EC2D469322/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="aaa.jpg" title="aaa.jpg" /&gt;</description>
      <pubDate>Fri, 03 Feb 2017 05:21:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-rtf-question/m-p/329688#M17868</guid>
      <dc:creator>Niugg2010</dc:creator>
      <dc:date>2017-02-03T05:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: ODS rtf question</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-rtf-question/m-p/329736#M17869</link>
      <description>&lt;P&gt;The reason you have the extra page is because you output an rtf text statement after your procedure. &amp;nbsp;What are you triying to do with that text field? &amp;nbsp;Why not just put it in a footnote?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2017 09:43:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-rtf-question/m-p/329736#M17869</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-02-03T09:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: ODS rtf question</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-rtf-question/m-p/329750#M17870</link>
      <description>&lt;P&gt;The shell requires that. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2017 11:42:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-rtf-question/m-p/329750#M17870</guid>
      <dc:creator>Niugg2010</dc:creator>
      <dc:date>2017-02-03T11:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: ODS rtf question</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-rtf-question/m-p/329769#M17871</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As an alternate method you could make use of the "COMPUTE AFTER" block. Using this method the text is written as part of the table, and is therefor part of the table measuring, see sample code below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;title;
ods rtf file="C:\temp\rtf111.rtf";
ods escapechar="^";
proc report data=sashelp.cars (obs=36) nocenter;
column rowid Make Model;
define rowid / computed;
compute rowid;
  _rowId + 1;
  rowId = _rowId;
endcomp;

compute after / style={just=left};
  length msgline $ 1024;
  msgline = "line1 ^n line2 ^n line3  ^n line 4 ^n line 5 ^n line 6";
  l = length(msgline);
  line msgLine $varying1024. l;
endcomp;
run;
/*ods text="^S={leftmargin=1in}line1 ^n line2 ^n line3  ^n line 4 ^n line 5 ^n line 6";*/
ods rtf close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Bruno&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2017 13:22:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-rtf-question/m-p/329769#M17871</guid>
      <dc:creator>BrunoMueller</dc:creator>
      <dc:date>2017-02-03T13:22:03Z</dc:date>
    </item>
  </channel>
</rss>

