<?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: Adding a Degree special character in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Adding-a-Degree-special-character/m-p/360033#M274559</link>
    <description>&lt;P&gt;Thanks ..do you mind showing me the syntax to include a macro variable the&amp;nbsp; DEFINE stmt? thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DEFINE TEMP&amp;nbsp;&amp;nbsp; / display "Oral Temperature|(°C)"&lt;/P&gt;</description>
    <pubDate>Fri, 19 May 2017 16:07:57 GMT</pubDate>
    <dc:creator>NJGIRL</dc:creator>
    <dc:date>2017-05-19T16:07:57Z</dc:date>
    <item>
      <title>Adding a Degree special character</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Adding-a-Degree-special-character/m-p/359674#M274551</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;can anyone provide the most efficient/simple syntax to add a degree sign (like for temperature in a vital signs table) to a display colum header in proc report?&lt;/P&gt;&lt;P&gt;thank you, Jill1&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 15:06:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Adding-a-Degree-special-character/m-p/359674#M274551</guid>
      <dc:creator>NJGIRL</dc:creator>
      <dc:date>2017-05-18T15:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a Degree special character</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Adding-a-Degree-special-character/m-p/359678#M274553</link>
      <description>excuse typo on column * &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 18 May 2017 15:09:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Adding-a-Degree-special-character/m-p/359678#M274553</guid>
      <dc:creator>NJGIRL</dc:creator>
      <dc:date>2017-05-18T15:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a Degree special character</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Adding-a-Degree-special-character/m-p/359679#M274554</link>
      <description>&lt;P&gt;Don't know where you want to include it, but you can type it directly. Hold the alt key down and, while you have it depressed, enter 0176 using your numeric keypad, then release the alt key. e.g.: °&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 15:10:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Adding-a-Degree-special-character/m-p/359679#M274554</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2017-05-18T15:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a Degree special character</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Adding-a-Degree-special-character/m-p/359694#M274555</link>
      <description>&lt;P&gt;You could also create a macro variable with the degree sign using the byte function as below. You could then use the same macro variable in the column headings where you want to display the degree sign&lt;BR /&gt;&lt;BR /&gt;%let degree=%sysfunc(byte(176));&lt;BR /&gt;%put &amp;amp;degree;&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 15:54:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Adding-a-Degree-special-character/m-p/359694#M274555</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2017-05-18T15:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a Degree special character</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Adding-a-Degree-special-character/m-p/359696#M274556</link>
      <description>holy toledo! what a great idea. SO SIMPLE. so much better than tons of confusing rtr code .&lt;BR /&gt;&lt;BR /&gt;ps( I needed to insert the degree sign in a column heading in a proc report for "Oral Temperature (C)"&lt;BR /&gt;I needed to put it before the 'C' (obviously:)&lt;BR /&gt;&lt;BR /&gt;thanks, Jill&lt;BR /&gt;</description>
      <pubDate>Thu, 18 May 2017 15:55:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Adding-a-Degree-special-character/m-p/359696#M274556</guid>
      <dc:creator>NJGIRL</dc:creator>
      <dc:date>2017-05-18T15:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a Degree special character</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Adding-a-Degree-special-character/m-p/359783#M274557</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; And for completeness, to insert special symbols into your PROC REPORT or other Headers or Titles, using the ODS ESCAPECHAR Unicode function, you only need to declare you Escape Character (shown as '^' below) and then use the Unicode number for the symbol you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cynthia&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/8953i046D891A1AA487DA/image-size/original?v=1.0&amp;amp;px=-1" alt="use_unicode.png" title="use_unicode.png" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 19:45:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Adding-a-Degree-special-character/m-p/359783#M274557</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-05-18T19:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a Degree special character</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Adding-a-Degree-special-character/m-p/360032#M274558</link>
      <description>&lt;P&gt;Ah, thanks, another very concise way to do this. THANKS!&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2017 16:04:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Adding-a-Degree-special-character/m-p/360032#M274558</guid>
      <dc:creator>NJGIRL</dc:creator>
      <dc:date>2017-05-19T16:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a Degree special character</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Adding-a-Degree-special-character/m-p/360033#M274559</link>
      <description>&lt;P&gt;Thanks ..do you mind showing me the syntax to include a macro variable the&amp;nbsp; DEFINE stmt? thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DEFINE TEMP&amp;nbsp;&amp;nbsp; / display "Oral Temperature|(°C)"&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2017 16:07:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Adding-a-Degree-special-character/m-p/360033#M274559</guid>
      <dc:creator>NJGIRL</dc:creator>
      <dc:date>2017-05-19T16:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a Degree special character</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Adding-a-Degree-special-character/m-p/360073#M274560</link>
      <description>Hi:&lt;BR /&gt;  Which piece of the DEFINE statement would you want to replace with a macro variable?&lt;BR /&gt;DEFINE &amp;amp;vaname / display "Oral Temperature|(°C)";&lt;BR /&gt;or&lt;BR /&gt;DEFINE TEMP/ &amp;amp;usage "Oral Temperature|(°C)";&lt;BR /&gt;or&lt;BR /&gt;DEFINE TEMP/ display "&amp;amp;label";&lt;BR /&gt;or&lt;BR /&gt;DEFINE &amp;amp;varname/ &amp;amp;usage "&amp;amp;label";&lt;BR /&gt;&lt;BR /&gt;No matter where you would use macro variable, you'd have to create/assign the values with either a %LET or CALL SYMPUT or using SQL and INTO.&lt;BR /&gt;&lt;BR /&gt;%let varname=TEMP;&lt;BR /&gt;%let usage = display;&lt;BR /&gt;%let label = %str(Oral Temperature|(°C));&lt;BR /&gt;&lt;BR /&gt;cynthia&lt;BR /&gt;</description>
      <pubDate>Fri, 19 May 2017 18:08:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Adding-a-Degree-special-character/m-p/360073#M274560</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-05-19T18:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a Degree special character</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Adding-a-Degree-special-character/m-p/360327#M274561</link>
      <description>Thanks Cynthia!&lt;BR /&gt;&lt;BR /&gt;all good stuff.&lt;BR /&gt;I was trying to add &amp;amp;degree to the display statement label (see below). I wasn't sure if you could add a macro variable directly in to a display statement. now I see it's pretty straightforward. This is how I created the degree macro:&lt;BR /&gt;&lt;BR /&gt;%let degree=%sysfunc(byte(176)); /* degrees */&lt;BR /&gt;&lt;BR /&gt;I guess long and short of it is that I am experimenting with different ways to put a special character in a proc report.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards, Jill&lt;BR /&gt;</description>
      <pubDate>Sun, 21 May 2017 20:11:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Adding-a-Degree-special-character/m-p/360327#M274561</guid>
      <dc:creator>NJGIRL</dc:creator>
      <dc:date>2017-05-21T20:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a Degree special character</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Adding-a-Degree-special-character/m-p/618238#M274562</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Do Direct Copy Paste &lt;A href="https://degreessymbolmac.com/" target="_self"&gt;Degree symbol sign&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jan 2020 03:48:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Adding-a-Degree-special-character/m-p/618238#M274562</guid>
      <dc:creator>luisymb</dc:creator>
      <dc:date>2020-01-18T03:48:25Z</dc:date>
    </item>
  </channel>
</rss>

