<?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: Proc report ODS RTF _Header Display with N=n in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-ODS-RTF-Header-Display-with-N-n/m-p/72429#M8271</link>
    <description>Thanks for the help.&lt;BR /&gt;
&lt;BR /&gt;
I figured that out after posting my question.&lt;BR /&gt;
&lt;BR /&gt;
Thanks again for the help.</description>
    <pubDate>Wed, 15 Sep 2010 23:56:17 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2010-09-15T23:56:17Z</dc:date>
    <item>
      <title>Proc report ODS RTF _Header Display with N=n</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-ODS-RTF-Header-Display-with-N-n/m-p/72427#M8269</link>
      <description>I want the header to be displayed in proc report with RTF option to look like this;&lt;BR /&gt;
&lt;BR /&gt;
	        Placebo (N=n)		 SB-509 (N=n)&lt;BR /&gt;
	Mild  Moderate Severe	            Mild	   Moderate   Severe &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
I am using the following syntax for column in proc report.  &amp;amp;var3 macro  corresponds to (N=n).  Everything except the (N=n) is  getting displayed properly, because I assume the '^R/RTF doesnot recognize the macro variable &amp;amp;var3. Is their a way to get around this?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
columns    PLAN   P1 PT_NM ('^R/RTF"\brdrb\brdrs\brdrw1" Placebo (&amp;amp;var3) |'  MILD MODERATE SEVERE) EMPTY  ('^R/RTF"\brdrb\brdrs\brdrw1" SB-509 (&amp;amp;var2)|' MILD MODERATE SEVERE)   ;</description>
      <pubDate>Wed, 15 Sep 2010 18:40:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-ODS-RTF-Header-Display-with-N-n/m-p/72427#M8269</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-09-15T18:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report ODS RTF _Header Display with N=n</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-ODS-RTF-Header-Display-with-N-n/m-p/72428#M8270</link>
      <description>Hi:&lt;BR /&gt;
  Try putting the RTF "raw" text in single quotes and that will allow you to put your macro variable reference inside double quotes -- so it can resolve. A macro variable won't resolve if surrounded by single quotes. I just used SASHELP.CLASS for the report and STYLE=JOURNAL for the style.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia&lt;BR /&gt;
[pre]&lt;BR /&gt;
%let var3 = %str(N=5);&lt;BR /&gt;
%let var2 = %str(N=5);&lt;BR /&gt;
                        &lt;BR /&gt;
ods listing close;&lt;BR /&gt;
ods rtf file='trybrdrb.rtf' style=journal;&lt;BR /&gt;
ods escapechar='^';&lt;BR /&gt;
                &lt;BR /&gt;
proc report data=sashelp.class(obs=5) nowd;&lt;BR /&gt;
columns name &lt;BR /&gt;
  ("^R/RTF'\brdrb\brdrs\brdrw1' Placebo (&amp;amp;var3) " height weight)  &lt;BR /&gt;
  ("^R/RTF'\brdrb\brdrs\brdrw1' SB-509 (&amp;amp;var2)" sex age) ; &lt;BR /&gt;
run;&lt;BR /&gt;
ods rtf close;&lt;BR /&gt;
[/pre]</description>
      <pubDate>Wed, 15 Sep 2010 23:40:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-ODS-RTF-Header-Display-with-N-n/m-p/72428#M8270</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-09-15T23:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: Proc report ODS RTF _Header Display with N=n</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-ODS-RTF-Header-Display-with-N-n/m-p/72429#M8271</link>
      <description>Thanks for the help.&lt;BR /&gt;
&lt;BR /&gt;
I figured that out after posting my question.&lt;BR /&gt;
&lt;BR /&gt;
Thanks again for the help.</description>
      <pubDate>Wed, 15 Sep 2010 23:56:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Proc-report-ODS-RTF-Header-Display-with-N-n/m-p/72429#M8271</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-09-15T23:56:17Z</dc:date>
    </item>
  </channel>
</rss>

