<?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: How to avoid warning for footnote in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-avoid-warning-for-footnote/m-p/642650#M23981</link>
    <description>Thanks for reply, however that doesn't work. It displays a set of symbols instead of desired one because quote itself taken as a keypunch for a symbol.</description>
    <pubDate>Fri, 24 Apr 2020 16:05:33 GMT</pubDate>
    <dc:creator>Lenith</dc:creator>
    <dc:date>2020-04-24T16:05:33Z</dc:date>
    <item>
      <title>How to avoid warning for footnote</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-avoid-warning-for-footnote/m-p/642639#M23979</link>
      <description>&lt;P&gt;I'm getting warning in log when using superscript 'Monotype Shorts" font symbol in the footnote.&lt;/P&gt;&lt;P&gt;Ex.&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;ods rtf ;&lt;BR /&gt;footnote1 height=5 PCT justify=left&lt;BR /&gt;font='Monotype Sorts' color=CX009900 ^{super '6E'X} font=Ariel&amp;nbsp; " Point 1";&lt;BR /&gt;data a;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; a='a';&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc print; run;&lt;BR /&gt;ods rtf close;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Log:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;WARNING: The FOOTNOTE statement is ambiguous due to invalid options or unquoted text.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;If I try to quote i.e. "^{super '6E'X}", It displays some different symbols. Tried to store in macro variable however didn't work. Any solution ? Please don't ask to use different font.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Apr 2020 15:26:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-avoid-warning-for-footnote/m-p/642639#M23979</guid>
      <dc:creator>Lenith</dc:creator>
      <dc:date>2020-04-24T15:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid warning for footnote</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-avoid-warning-for-footnote/m-p/642643#M23980</link>
      <description>&lt;P&gt;Edit: Sorry, below is wrong. : )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;The quoted font name with a space is fine.&amp;nbsp; The problem is the superscript part is text for the title, so it needs to be in quotes, e.g.:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;footnote1 height=5 PCT justify=left
font='Monotype Sorts' color=CX009900 "^{super '6E'X}" font=Arial  " Point 1";
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Apr 2020 15:55:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-avoid-warning-for-footnote/m-p/642643#M23980</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2020-04-24T15:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid warning for footnote</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-avoid-warning-for-footnote/m-p/642650#M23981</link>
      <description>Thanks for reply, however that doesn't work. It displays a set of symbols instead of desired one because quote itself taken as a keypunch for a symbol.</description>
      <pubDate>Fri, 24 Apr 2020 16:05:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-avoid-warning-for-footnote/m-p/642650#M23981</guid>
      <dc:creator>Lenith</dc:creator>
      <dc:date>2020-04-24T16:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid warning for footnote</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-avoid-warning-for-footnote/m-p/642658#M23982</link>
      <description>&lt;P&gt;Gotcha, I see what you're doing now.&amp;nbsp; It's not a font problem. This code works:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;footnote1 "AAA"  "^{super foo}" "BBB";
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You need the ^{super foo} part inside quotes so that SAS knows it is part of the title value, and not an option for the title statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But you're trying to put a hex code in there, like:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;footnote1 "AAA"  "^{super '6E'X}" "BBB";&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;And when you do that, SAS sees '6E'x as a 5-character string, instead of a hex value.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Someone else will know a solution. I thought maybe:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;footnote1 "AAA"  '^{super ''6E''X}' "BBB";&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But that gives the same results as above.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe there's some other way to encode '6E'X that doesn't require quotes?&amp;nbsp; &amp;nbsp;Wait, isn't '6E'x just the character n?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Looks like I get the result you want with just:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;footnote1 height=5 PCT justify=left
font='Monotype Sorts' color=CX009900 "^{super n}" font=Arial  " Point 1";
&lt;/CODE&gt;&lt;/PRE&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;</description>
      <pubDate>Fri, 24 Apr 2020 16:27:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-avoid-warning-for-footnote/m-p/642658#M23982</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2020-04-24T16:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid warning for footnote</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-avoid-warning-for-footnote/m-p/642662#M23983</link>
      <description>Tried with 'n' letter but that also didn't work. It prints 6 different symbols before "Point 1".</description>
      <pubDate>Fri, 24 Apr 2020 16:37:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-avoid-warning-for-footnote/m-p/642662#M23983</guid>
      <dc:creator>Lenith</dc:creator>
      <dc:date>2020-04-24T16:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid warning for footnote</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-avoid-warning-for-footnote/m-p/642665#M23984</link>
      <description>As soon as we put quotes after font "Monotype Sorts'is declared, quotes are interpreted as symbols, and that's problem i believe.</description>
      <pubDate>Fri, 24 Apr 2020 16:41:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-avoid-warning-for-footnote/m-p/642665#M23984</guid>
      <dc:creator>Lenith</dc:creator>
      <dc:date>2020-04-24T16:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid warning for footnote</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-avoid-warning-for-footnote/m-p/642699#M23985</link>
      <description>&lt;P&gt;That last example with letter n I posted works for me on PC SAS 9.4M4:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods escapechar='^' ;&lt;BR /&gt;&lt;BR /&gt;ods rtf file='c:\junk\me.rtf';
footnote1 height=5 PCT justify=left
font='Monotype Sorts' color=CX009900 "^{super n}" font=Arial  " Point 1";
data a;
    a='a';
run;

proc print; run;
ods rtf close;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Quentin_0-1587748205966.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/38664i78B63A861A5D0004/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Quentin_0-1587748205966.png" alt="Quentin_0-1587748205966.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;There are no nested quotes, so all of the quotes have the usual meaning, to define a text string.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Apr 2020 17:16:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-avoid-warning-for-footnote/m-p/642699#M23985</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2020-04-24T17:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid warning for footnote</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-avoid-warning-for-footnote/m-p/642728#M23986</link>
      <description>Oh yes, That worked. May be I did something wrong last time.&lt;BR /&gt;Thanks alot &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/19879"&gt;@Quentin&lt;/a&gt; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Fri, 24 Apr 2020 17:45:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-avoid-warning-for-footnote/m-p/642728#M23986</guid>
      <dc:creator>Lenith</dc:creator>
      <dc:date>2020-04-24T17:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid warning for footnote</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-avoid-warning-for-footnote/m-p/642744#M23987</link>
      <description>&lt;P&gt;Not that if you did want to use hexcode that did not happen to be something simple like a lowercase letter you could use the byte function to generate it as a string.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;"^{super %qsysfunc(byte(06Ex))}"&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 24 Apr 2020 18:41:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-avoid-warning-for-footnote/m-p/642744#M23987</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-04-24T18:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid warning for footnote</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-avoid-warning-for-footnote/m-p/642784#M23989</link>
      <description>Thank you &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt; . It did work as well. I was under impression that byte function works with numbers 1-255 only.</description>
      <pubDate>Fri, 24 Apr 2020 20:42:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-avoid-warning-for-footnote/m-p/642784#M23989</guid>
      <dc:creator>Lenith</dc:creator>
      <dc:date>2020-04-24T20:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid warning for footnote</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-avoid-warning-for-footnote/m-p/642792#M23992</link>
      <description>BYTE() should work with numbers from zero to 255. Or in hexadecimal notation from 0x to 0FFx.&lt;BR /&gt;</description>
      <pubDate>Fri, 24 Apr 2020 21:09:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/How-to-avoid-warning-for-footnote/m-p/642792#M23992</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-04-24T21:09:36Z</dc:date>
    </item>
  </channel>
</rss>

