<?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 Formatting Help in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Formatting-Help/m-p/262474#M51250</link>
    <description>&lt;P&gt;Hi. In my proc print can I rename the column headers?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;N = 'Count'&lt;/P&gt;&lt;P&gt;Rule_Order = 'Rule'&lt;/P&gt;&lt;P&gt;ad_dt_char = 'AD Date'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And for the Rule_Order column is there any way to format the values so that whole number don't have the .0 attached?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;                                              The SAS System                          08:52 Friday, April 8, 2016 132

                                                      RULE_
                                               Obs    ORDER      N    ad_dt_char

                                                 1     1.0      80    TOTAL
                                                 2     1.0       5    03/14/2016
                                                 3     1.0       3    03/15/2016
                                                 4     1.0      14    03/16/2016
                                                 5     1.0      13    03/17/2016
                                                 6     1.0      20    03/18/2016
                                                 7     1.0      19    03/19/2016
                                                 8     1.0       4    03/22/2016
                                                 9     1.0       2    03/25/2016
                                                10     1.5     202    TOTAL
                                                11     1.5       1    03/15/2016
                                                12     1.5       1    03/17/2016
                                                13     1.5       2    03/18/2016
                                                14     1.5       6    03/19/2016
                                                15     1.5      12    03/21/2016
                                                16     1.5       4    03/22/2016&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Apr 2016 15:08:56 GMT</pubDate>
    <dc:creator>buechler66</dc:creator>
    <dc:date>2016-04-08T15:08:56Z</dc:date>
    <item>
      <title>Formatting Help</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Formatting-Help/m-p/262474#M51250</link>
      <description>&lt;P&gt;Hi. In my proc print can I rename the column headers?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;N = 'Count'&lt;/P&gt;&lt;P&gt;Rule_Order = 'Rule'&lt;/P&gt;&lt;P&gt;ad_dt_char = 'AD Date'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And for the Rule_Order column is there any way to format the values so that whole number don't have the .0 attached?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;                                              The SAS System                          08:52 Friday, April 8, 2016 132

                                                      RULE_
                                               Obs    ORDER      N    ad_dt_char

                                                 1     1.0      80    TOTAL
                                                 2     1.0       5    03/14/2016
                                                 3     1.0       3    03/15/2016
                                                 4     1.0      14    03/16/2016
                                                 5     1.0      13    03/17/2016
                                                 6     1.0      20    03/18/2016
                                                 7     1.0      19    03/19/2016
                                                 8     1.0       4    03/22/2016
                                                 9     1.0       2    03/25/2016
                                                10     1.5     202    TOTAL
                                                11     1.5       1    03/15/2016
                                                12     1.5       1    03/17/2016
                                                13     1.5       2    03/18/2016
                                                14     1.5       6    03/19/2016
                                                15     1.5      12    03/21/2016
                                                16     1.5       4    03/22/2016&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2016 15:08:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Formatting-Help/m-p/262474#M51250</guid>
      <dc:creator>buechler66</dc:creator>
      <dc:date>2016-04-08T15:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting Help</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Formatting-Help/m-p/262479#M51253</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/79805"&gt;@buechler66﻿&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc print data=yourdata label;
label N = 'Count'
      Rule_Order = 'Rule'
      ad_dt_char = 'AD Date';
format Rule_Order best6.; /* please adapt length 6 as appropriate */
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 08 Apr 2016 15:18:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Formatting-Help/m-p/262479#M51253</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2016-04-08T15:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting Help</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Formatting-Help/m-p/262482#M51256</link>
      <description>Awesome help. Ty.</description>
      <pubDate>Fri, 08 Apr 2016 15:24:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Formatting-Help/m-p/262482#M51256</guid>
      <dc:creator>buechler66</dc:creator>
      <dc:date>2016-04-08T15:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting Help</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Formatting-Help/m-p/262484#M51257</link>
      <description>&lt;P&gt;You're welcome.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please note that the suggested code assigns the labels and format only temporarily to the respective variables, only for the duration of the PROC PRINT step. Alternatively, you can add the same LABEL and FORMAT statements to a data step creating the input dataset for PROC PRINT ("yourdata") in order to assign&amp;nbsp;&lt;SPAN&gt;the labels and format permanently. Then you don't need these statements in future PROC PRINT steps, only the LABEL &lt;EM&gt;option&lt;/EM&gt; in the PROC PRINT statement (first line of code).&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2016 15:25:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Formatting-Help/m-p/262484#M51257</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2016-04-08T15:25:47Z</dc:date>
    </item>
  </channel>
</rss>

