<?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: Disappearing percent sign in RTF column title in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Disappearing-percent-sign-in-RTF-column-title/m-p/82176#M17750</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A __default_attr="260198" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt; , I finally found it in the Doc. I thought that you could use anything as a label in SQL. Not so! There are rules:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;A label can begin with the following characters: a through z, A through Z, 0 through 9, an underscore (_), or a blank space. If you begin a label with any other character, such as pound sign (#), then that character is used as a split character and it splits the label onto the next line wherever it appears. For example: select dropout label= '#Percentage of#Students Who#Dropped Out' from educ(obs=5);&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;If a special character must appear as the first character in the output, then precede it with a space or a forward slash (/). &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, my percent sign was used as a split character, which is why it was ignored.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 14 Sep 2013 01:23:30 GMT</pubDate>
    <dc:creator>PGStats</dc:creator>
    <dc:date>2013-09-14T01:23:30Z</dc:date>
    <item>
      <title>Disappearing percent sign in RTF column title</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Disappearing-percent-sign-in-RTF-column-title/m-p/82174#M17748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can somebody tell me what happens to my percent character in the column title produced by:&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&lt;STRONG&gt;data test; x=0.1; run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ods rtf file="&amp;amp;sasforum.\Reports\test percent.rtf" style=journal;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;&lt;STRONG&gt;proc sql;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;select x label=&lt;SPAN style="color: #ff0000;"&gt;'% Detected'&lt;/SPAN&gt; format=percentn7.1&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;from test;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;quit;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;BR /&gt;&lt;STRONG&gt;ods rtf close;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Percent Column Title.PNG" class="jive-image" src="https://communities.sas.com/legacyfs/online/4170_Percent Column Title.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 22:02:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Disappearing-percent-sign-in-RTF-column-title/m-p/82174#M17748</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2013-09-13T22:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: Disappearing percent sign in RTF column title</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Disappearing-percent-sign-in-RTF-column-title/m-p/82175#M17749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't know why the RTF generator eats it but try '\% Detected'. I think the \ acts as an RTF escape character.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My guess is the % at the start of a string indicates some kind of predicate or code otherwise.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 22:29:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Disappearing-percent-sign-in-RTF-column-title/m-p/82175#M17749</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2013-09-13T22:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: Disappearing percent sign in RTF column title</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Disappearing-percent-sign-in-RTF-column-title/m-p/82176#M17750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A __default_attr="260198" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt; , I finally found it in the Doc. I thought that you could use anything as a label in SQL. Not so! There are rules:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;A label can begin with the following characters: a through z, A through Z, 0 through 9, an underscore (_), or a blank space. If you begin a label with any other character, such as pound sign (#), then that character is used as a split character and it splits the label onto the next line wherever it appears. For example: select dropout label= '#Percentage of#Students Who#Dropped Out' from educ(obs=5);&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;If a special character must appear as the first character in the output, then precede it with a space or a forward slash (/). &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, my percent sign was used as a split character, which is why it was ignored.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Sep 2013 01:23:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Disappearing-percent-sign-in-RTF-column-title/m-p/82176#M17750</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2013-09-14T01:23:30Z</dc:date>
    </item>
  </channel>
</rss>

