<?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 statement not woeking in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Label-statement-not-woeking/m-p/616870#M180683</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/267066"&gt;@SaranyaSundar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As mentioned by&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/30622"&gt;@gamotte&lt;/a&gt;, &lt;SPAN&gt;PROC PRINT uses the name of the variable as the column heading unless you overrides this default behavior by using the&amp;nbsp;&lt;/SPAN&gt;keyword "LABEL" in the PROC PRINT statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jan 2020 11:00:57 GMT</pubDate>
    <dc:creator>ed_sas_member</dc:creator>
    <dc:date>2020-01-13T11:00:57Z</dc:date>
    <item>
      <title>Label statement not woeking</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Label-statement-not-woeking/m-p/616857#M180673</link>
      <description>&lt;P&gt;I need to find mean and standard deviation for a data where my label option is not working when I want to change the variable name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The following is my data:&lt;/P&gt;&lt;P&gt;Data SAS;&lt;/P&gt;&lt;P&gt;input Obsvalue;&lt;/P&gt;&lt;P&gt;cards;&lt;/P&gt;&lt;P&gt;12.000&lt;/P&gt;&lt;P&gt;15.000&lt;/P&gt;&lt;P&gt;13.000&lt;/P&gt;&lt;P&gt;11.000&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;Run;&lt;/P&gt;&lt;P&gt;Proc Means data= SAS Mean STD maxdec=7;&lt;/P&gt;&lt;P&gt;Var Obsvalue;&lt;/P&gt;&lt;P&gt;Run;&lt;/P&gt;&lt;P&gt;Proc print data=SAS;&lt;/P&gt;&lt;P&gt;Var Obsvalue;&lt;/P&gt;&lt;P&gt;Label ObsValue='Observed Value';&lt;/P&gt;&lt;P&gt;Run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The result is displayed without changing the variable name from obsvalue to Observed Value.&lt;/P&gt;&lt;P&gt;Can someone help?&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;</description>
      <pubDate>Mon, 13 Jan 2020 09:39:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Label-statement-not-woeking/m-p/616857#M180673</guid>
      <dc:creator>SaranyaSundar</dc:creator>
      <dc:date>2020-01-13T09:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: Label statement not woeking</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Label-statement-not-woeking/m-p/616858#M180674</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use the label option on the proc print statement :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Proc print data=SAS label;
Var Obsvalue;
Label ObsValue='Observed Value';
Run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 13 Jan 2020 09:46:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Label-statement-not-woeking/m-p/616858#M180674</guid>
      <dc:creator>gamotte</dc:creator>
      <dc:date>2020-01-13T09:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: Label statement not woeking</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Label-statement-not-woeking/m-p/616870#M180683</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/267066"&gt;@SaranyaSundar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As mentioned by&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/30622"&gt;@gamotte&lt;/a&gt;, &lt;SPAN&gt;PROC PRINT uses the name of the variable as the column heading unless you overrides this default behavior by using the&amp;nbsp;&lt;/SPAN&gt;keyword "LABEL" in the PROC PRINT statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2020 11:00:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Label-statement-not-woeking/m-p/616870#M180683</guid>
      <dc:creator>ed_sas_member</dc:creator>
      <dc:date>2020-01-13T11:00:57Z</dc:date>
    </item>
  </channel>
</rss>

