<?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: name of columns in output data set  of  proc tabulate in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/name-of-columns-in-output-data-set-of-proc-tabulate/m-p/550873#M152988</link>
    <description>&lt;P&gt;I don't see any other way of doing this inside TABULATE except using RENAME = like so:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;out = bbb (rename = (CurrentName = NewName))&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sun, 14 Apr 2019 05:53:43 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2019-04-14T05:53:43Z</dc:date>
    <item>
      <title>name of columns in output data set  of  proc tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/name-of-columns-in-output-data-set-of-proc-tabulate/m-p/550870#M152985</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;I am using proc tabulate procedure with out option to create output data set.&lt;/P&gt;
&lt;P&gt;My question is how to control the name of the columns in the output data set.(without using rename statement!!!)&lt;/P&gt;
&lt;P&gt;for example:&lt;/P&gt;
&lt;P&gt;Instead of names:&lt;/P&gt;
&lt;P&gt;MSRP_Mean&lt;/P&gt;
&lt;P&gt;MSRP_Max&lt;/P&gt;
&lt;P&gt;MSRP_Min&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to have name:&lt;/P&gt;
&lt;P&gt;x_avg&lt;/P&gt;
&lt;P&gt;x_Max&lt;/P&gt;
&lt;P&gt;x_Min&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc tabulate data = sashelp.cars  out=bbb;
class origin;
var msrp;
table origin,
        msrp*mean msrp*max  msrp*min ;
run;&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>Sun, 14 Apr 2019 04:06:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/name-of-columns-in-output-data-set-of-proc-tabulate/m-p/550870#M152985</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2019-04-14T04:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: name of columns in output data set  of  proc tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/name-of-columns-in-output-data-set-of-proc-tabulate/m-p/550873#M152988</link>
      <description>&lt;P&gt;I don't see any other way of doing this inside TABULATE except using RENAME = like so:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;out = bbb (rename = (CurrentName = NewName))&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 14 Apr 2019 05:53:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/name-of-columns-in-output-data-set-of-proc-tabulate/m-p/550873#M152988</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-04-14T05:53:43Z</dc:date>
    </item>
  </channel>
</rss>

