<?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: Displaying ++ , -- header of the output in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Displaying-header-of-the-output/m-p/616727#M180597</link>
    <description>I tried implementing with Compute block but it didnt work as expected.Thanks a lot Reinhard, this worked for me.</description>
    <pubDate>Sat, 11 Jan 2020 21:37:39 GMT</pubDate>
    <dc:creator>Pankp</dc:creator>
    <dc:date>2020-01-11T21:37:39Z</dc:date>
    <item>
      <title>Displaying ++ , -- header of the output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Displaying-header-of-the-output/m-p/616619#M180521</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking for the solution to display "++" "--" in the column header as mentioned in the define statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;E.g. Define xyz/ "++";&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Define abc/ "--";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the output displayed are "++++++" "-------" respectively which is not my expectation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if you have any solution&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2020 21:55:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Displaying-header-of-the-output/m-p/616619#M180521</guid>
      <dc:creator>Pankp</dc:creator>
      <dc:date>2020-01-10T21:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying ++ , -- header of the output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Displaying-header-of-the-output/m-p/616628#M180528</link>
      <description>&lt;P&gt;RTM&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In LISTING output, if the first and last characters of a heading are one of the following characters, then PROC REPORT uses that character to expand the heading to fill the space over the column or columns. Note that the &amp;lt;&amp;gt;and the &amp;gt;&amp;lt; must be paired. − = . _ * +&amp;lt;&amp;gt; &amp;gt;&amp;lt;&lt;/P&gt;
&lt;P&gt;Similarly, if the first character of a heading is &amp;lt; and the last character is &amp;gt;, or vice versa, then PROC REPORT expands the heading to fill the space over the column by repeating the first character before the text of the heading and the last character after it.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2020 22:37:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Displaying-header-of-the-output/m-p/616628#M180528</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2020-01-10T22:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying ++ , -- header of the output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Displaying-header-of-the-output/m-p/616630#M180530</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/179962"&gt;@Pankp&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just an &lt;EM&gt;ad-hoc&lt;/EM&gt; idea: Add an invisible character to the string, e.g. 'A0'x (non-breaking space).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc report data=sashelp.class(obs=3);
column name height;
define name / '2B2BA0'x; /* "++" left-aligned */
define height / 'A02D2D'x; /* "--" right-aligned */
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;(2B and 2D are the hexadecimal ASCII codes of "+" and "-", respectively.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Result:&lt;/P&gt;
&lt;PRE&gt;++&amp;nbsp;             &amp;nbsp;--
Alfred           69
Alice          56.5
Barbara        65.3&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2020 22:47:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Displaying-header-of-the-output/m-p/616630#M180530</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2020-01-10T22:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying ++ , -- header of the output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Displaying-header-of-the-output/m-p/616727#M180597</link>
      <description>I tried implementing with Compute block but it didnt work as expected.Thanks a lot Reinhard, this worked for me.</description>
      <pubDate>Sat, 11 Jan 2020 21:37:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Displaying-header-of-the-output/m-p/616727#M180597</guid>
      <dc:creator>Pankp</dc:creator>
      <dc:date>2020-01-11T21:37:39Z</dc:date>
    </item>
  </channel>
</rss>

