<?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: Label in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Label/m-p/144799#M261906</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Apple,&lt;/P&gt;&lt;P&gt;You can use rename option to give new names to the variables&amp;nbsp; in Proc Tabulate and Means.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC TABULATE DATA=TRY&amp;nbsp; &lt;STRONG&gt;OUT=TEST (RENAME=(N=Count));&lt;/STRONG&gt;&lt;BR /&gt;CLASS VAR1 VAR2 VAR3;&lt;BR /&gt;TABLE VAR1 VAR2 VAR3;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;PROC MEANS DATA=TRY&amp;nbsp; N MEAN MAX&amp;nbsp; ;&lt;BR /&gt;&lt;STRONG&gt;OUTPUT OUT=TEST1 (RENAME=(_STAT_=COUNT1));&lt;/STRONG&gt;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Nov 2013 11:07:44 GMT</pubDate>
    <dc:creator>Ruchita</dc:creator>
    <dc:date>2013-11-15T11:07:44Z</dc:date>
    <item>
      <title>Label</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Label/m-p/144798#M261905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do I give the variables new names in Proc Tabulate, means?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2013 09:17:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Label/m-p/144798#M261905</guid>
      <dc:creator>apple</dc:creator>
      <dc:date>2013-11-15T09:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: Label</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Label/m-p/144799#M261906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Apple,&lt;/P&gt;&lt;P&gt;You can use rename option to give new names to the variables&amp;nbsp; in Proc Tabulate and Means.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC TABULATE DATA=TRY&amp;nbsp; &lt;STRONG&gt;OUT=TEST (RENAME=(N=Count));&lt;/STRONG&gt;&lt;BR /&gt;CLASS VAR1 VAR2 VAR3;&lt;BR /&gt;TABLE VAR1 VAR2 VAR3;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;PROC MEANS DATA=TRY&amp;nbsp; N MEAN MAX&amp;nbsp; ;&lt;BR /&gt;&lt;STRONG&gt;OUTPUT OUT=TEST1 (RENAME=(_STAT_=COUNT1));&lt;/STRONG&gt;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2013 11:07:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Label/m-p/144799#M261906</guid>
      <dc:creator>Ruchita</dc:creator>
      <dc:date>2013-11-15T11:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Label</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Label/m-p/144800#M261907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to display a different label for a variable then add a label statement to the proc&lt;/P&gt;&lt;P&gt;label var ='Text to display'; for example;&lt;/P&gt;&lt;P&gt;Or in tabulate you can override the default label in the table statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table var='Text to display', n;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want the Values to display differently then a custom format may be in order.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2013 15:18:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Label/m-p/144800#M261907</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2013-11-15T15:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Label</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Label/m-p/144801#M261908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I don't understand. Where am I supposed to state the new names in the code?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I need it for Proc Freq&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2013 01:04:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Label/m-p/144801#M261908</guid>
      <dc:creator>apple</dc:creator>
      <dc:date>2013-11-18T01:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: Label</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Label/m-p/144802#M261909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;table var='Text to display', n;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is n?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2013 01:05:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Label/m-p/144802#M261909</guid>
      <dc:creator>apple</dc:creator>
      <dc:date>2013-11-18T01:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Label</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Label/m-p/144803#M261910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;apple&lt;/P&gt;&lt;P&gt;In the case of Proc SQL it goes like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;Select ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; stuff label = "New label for stuff" ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Richard in NZ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2013 06:31:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Label/m-p/144803#M261910</guid>
      <dc:creator>RichardinOz</dc:creator>
      <dc:date>2013-11-18T06:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Label</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Label/m-p/144804#M261911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The n is was using Proc Tabulate syntax to show a count of the variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note the Proc Freq processes labels differently than Proc tabulate. Freq will show the variable name and the label(if any) while tabulate only displays the label or the variable name if no label is assigned.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2013 16:31:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Label/m-p/144804#M261911</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2013-11-18T16:31:23Z</dc:date>
    </item>
  </channel>
</rss>

