<?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: Superscript anumber from SAS DATASET in RTF ODS with proc report in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Superscript-anumber-from-SAS-DATASET-in-RTF-ODS-with-proc-report/m-p/74420#M8468</link>
    <description>Thanks for the help</description>
    <pubDate>Sat, 25 Sep 2010 00:32:10 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2010-09-25T00:32:10Z</dc:date>
    <item>
      <title>Superscript anumber from SAS DATASET in RTF ODS with proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Superscript-anumber-from-SAS-DATASET-in-RTF-ODS-with-proc-report/m-p/74418#M8466</link>
      <description>I have a sas dataset with a variable units and the values of the units are displayed alike this when i open the sas data set.&lt;BR /&gt;
&lt;BR /&gt;
"Basophils(x10~{super3}/u)"&lt;BR /&gt;
&lt;BR /&gt;
I am using proc report for rtf ods output. &lt;BR /&gt;
&lt;BR /&gt;
When I run the program with option "ods escapechar='~';"&lt;BR /&gt;
In the final RTF output  the number 3 is not superscripted but displaying as "Basophils(x10super3/u)".  I am sure i am doing something wrong.  Can any one suggest a way by which, without changing the SAS dataset, I can get the superscipt displayed in rtf output.&lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
      <pubDate>Fri, 24 Sep 2010 00:21:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Superscript-anumber-from-SAS-DATASET-in-RTF-ODS-with-proc-report/m-p/74418#M8466</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-09-24T00:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: Superscript anumber from SAS DATASET in RTF ODS with proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Superscript-anumber-from-SAS-DATASET-in-RTF-ODS-with-proc-report/m-p/74419#M8467</link>
      <description>Hi:&lt;BR /&gt;
  When I run this code (shown below), I do get the expected results (superscript, subscript and the dagger symbol). So I'm not sure what's going on with your program. However, I do believe that the correct syntax is:&lt;BR /&gt;
~{super 3}&lt;BR /&gt;
~{sub 3}&lt;BR /&gt;
...note the space between the 'super' or 'sub' and the number to be superscripted or subscripted. If your data does NOT have a space, then I do not believe the "super3" would be recognized and you might have to change the data file so that you were using the correct syntax.. &lt;BR /&gt;
&lt;BR /&gt;
  I wasn't sure of the purpose for the "/u" in the data -- however if you intend to use RTF control strings in the data, I believe the control string for underline is \ul, not /u, as described here:&lt;BR /&gt;
&lt;A href="http://support.sas.com/rnd/base/ods/templateFAQ/Template_rtf.html#control" target="_blank"&gt;http://support.sas.com/rnd/base/ods/templateFAQ/Template_rtf.html#control&lt;/A&gt; &lt;BR /&gt;
and&lt;BR /&gt;
&lt;A href="http://www2.sas.com/proceedings/forum2007/151-2007.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/forum2007/151-2007.pdf&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
cynthia&lt;BR /&gt;
[pre]&lt;BR /&gt;
data use_esc;&lt;BR /&gt;
  length stringvar $50;&lt;BR /&gt;
  infile datalines;&lt;BR /&gt;
  input stringvar &amp;amp; $;&lt;BR /&gt;
  put _all_;&lt;BR /&gt;
return;&lt;BR /&gt;
datalines;&lt;BR /&gt;
Basophils(x10~{super 3})&lt;BR /&gt;
Blastomeres(x10~{sub 3})&lt;BR /&gt;
Basophils ~{dagger}&lt;BR /&gt;
;&lt;BR /&gt;
run;&lt;BR /&gt;
                        &lt;BR /&gt;
ods listing close;&lt;BR /&gt;
ods rtf file='c:\temp\use_esc.rtf';&lt;BR /&gt;
ods escapechar='~';&lt;BR /&gt;
                  &lt;BR /&gt;
proc report data=use_esc nowd;&lt;BR /&gt;
  column stringvar;&lt;BR /&gt;
  define stringvar / display;&lt;BR /&gt;
run;&lt;BR /&gt;
ods rtf close;&lt;BR /&gt;
&lt;BR /&gt;
[/pre]</description>
      <pubDate>Fri, 24 Sep 2010 02:34:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Superscript-anumber-from-SAS-DATASET-in-RTF-ODS-with-proc-report/m-p/74419#M8467</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-09-24T02:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: Superscript anumber from SAS DATASET in RTF ODS with proc report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Superscript-anumber-from-SAS-DATASET-in-RTF-ODS-with-proc-report/m-p/74420#M8468</link>
      <description>Thanks for the help</description>
      <pubDate>Sat, 25 Sep 2010 00:32:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Superscript-anumber-from-SAS-DATASET-in-RTF-ODS-with-proc-report/m-p/74420#M8468</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-09-25T00:32:10Z</dc:date>
    </item>
  </channel>
</rss>

