<?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: how to proceed with Renaming the label as same as variable name? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-proceed-with-Renaming-the-label-as-same-as-variable-name/m-p/203305#M266943</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The LABEL statement attaches the label to the variable.&amp;nbsp; It is not really the same thing as renaming a variable.&lt;/P&gt;&lt;P&gt;If you set the label to blank then in most places SAS will just use the variable name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jul 2015 13:15:33 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2015-07-15T13:15:33Z</dc:date>
    <item>
      <title>how to proceed with Renaming the label as same as variable name?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-proceed-with-Renaming-the-label-as-same-as-variable-name/m-p/203302#M266940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have this case where I want to rename the label as same as variable name, for example&lt;/P&gt;&lt;P&gt;I have the variable name 'Fundplatinum' however label shows as 'fnd pltnm' ( Previously from the raw file after importing I had renamed only the variable and not the label )&lt;/P&gt;&lt;P&gt;How to go ahead about renaming the label now?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am aware of renaming the label and variable at the same time, like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data SS_2014_V4;&lt;/P&gt;&lt;P&gt;set SS_2014_V3;&lt;/P&gt;&lt;P&gt;label SKL = 'SplKlLoun';&lt;/P&gt;&lt;P&gt;rename SKL = SplKLoun;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;But not aware of renaming label only, can we use proc dataset?&lt;/P&gt;&lt;P&gt;I understand that label names doesn't make any difference but want to know how to rename label only ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Prash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 12:10:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-proceed-with-Renaming-the-label-as-same-as-variable-name/m-p/203302#M266940</guid>
      <dc:creator>Prash</dc:creator>
      <dc:date>2015-07-15T12:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: how to proceed with Renaming the label as same as variable name?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-proceed-with-Renaming-the-label-as-same-as-variable-name/m-p/203303#M266941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use PROC SQL with the ALTER TABLE and MODIFY statements: &lt;A href="http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a002473671.htm" title="http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a002473671.htm"&gt;Base SAS(R) 9.2 Procedures Guide&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 12:28:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-proceed-with-Renaming-the-label-as-same-as-variable-name/m-p/203303#M266941</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2015-07-15T12:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: how to proceed with Renaming the label as same as variable name?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-proceed-with-Renaming-the-label-as-same-as-variable-name/m-p/203304#M266942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A good way is removing these LABELs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #353535; font-family: Lato, sans-serif; font-size: 14px;"&gt;&lt;/P&gt;&lt;H3&gt;Code: Program&lt;/H3&gt;&lt;DIV class="sce-html-export" style="font-family: 'Courier New', Menlo, 'Lucida Console';"&gt;&lt;PRE class="sce-render" style="font-family: 'Courier New', Menlo, 'Lucida Console'; font-size: 16px;"&gt;&lt;SPAN class="sec-keyword" style="color: #000080; font-weight: bold;"&gt;data&lt;/SPAN&gt;&lt;SPAN class="text" style="color: black;"&gt; &lt;/SPAN&gt;&lt;SPAN class="text" style="color: black;"&gt;SS_2014_V4&lt;/SPAN&gt;&lt;SPAN class="sep" style="color: black;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="keyword" style="color: #0000ff;"&gt;label&lt;/SPAN&gt;&lt;SPAN class="text" style="color: black;"&gt; &lt;/SPAN&gt;&lt;SPAN class="text" style="color: black;"&gt;SKL&lt;/SPAN&gt;&lt;SPAN class="text" style="color: black;"&gt; &lt;/SPAN&gt;&lt;SPAN class="sep" style="color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="text" style="color: black;"&gt; &lt;/SPAN&gt;&lt;SPAN class="string" style="color: #800080;"&gt;'SplKlLoun'&lt;/SPAN&gt;&lt;SPAN class="sep" style="color: black;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="text" style="color: black;"&gt;SKL&lt;/SPAN&gt;&lt;SPAN class="text" style="color: black;"&gt; &lt;/SPAN&gt;&lt;SPAN class="sep" style="color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="text" style="color: black;"&gt; &lt;/SPAN&gt;&lt;SPAN class="numeric" style="color: #008080; font-weight: bold;"&gt;1&lt;/SPAN&gt;&lt;SPAN class="sep" style="color: black;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="sec-keyword" style="color: #000080; font-weight: bold;"&gt;run&lt;/SPAN&gt;&lt;SPAN class="sep" style="color: black;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="sec-keyword" style="color: #000080; font-weight: bold;"&gt;proc&lt;/SPAN&gt;&lt;SPAN class="text" style="color: black;"&gt; &lt;/SPAN&gt;&lt;SPAN class="sec-keyword" style="color: #000080; font-weight: bold;"&gt;datasets&lt;/SPAN&gt;&lt;SPAN class="text" style="color: black;"&gt; &lt;/SPAN&gt;&lt;SPAN class="keyword" style="color: #0000ff;"&gt;library&lt;/SPAN&gt;&lt;SPAN class="sep" style="color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="text" style="color: black;"&gt;work&lt;/SPAN&gt;&lt;SPAN class="text" style="color: black;"&gt; &lt;/SPAN&gt;&lt;SPAN class="keyword" style="color: #0000ff;"&gt;nodetails&lt;/SPAN&gt;&lt;SPAN class="text" style="color: black;"&gt; &lt;/SPAN&gt;&lt;SPAN class="keyword" style="color: #0000ff;"&gt;nolist&lt;/SPAN&gt;&lt;SPAN class="sep" style="color: black;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="text" style="color: black;"&gt; &lt;/SPAN&gt;&lt;SPAN class="keyword" style="color: #0000ff;"&gt;modify&lt;/SPAN&gt;&lt;SPAN class="text" style="color: black;"&gt; &lt;/SPAN&gt;&lt;SPAN class="text" style="color: black;"&gt;SS_2014_V4&lt;/SPAN&gt;&lt;SPAN class="sep" style="color: black;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="text" style="color: black;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="keyword" style="color: #0000ff;"&gt;attrib&lt;/SPAN&gt;&lt;SPAN class="text" style="color: black;"&gt; &lt;/SPAN&gt;&lt;SPAN class="keyword" style="color: #0000ff;"&gt;_all_&lt;/SPAN&gt;&lt;SPAN class="text" style="color: black;"&gt; &lt;/SPAN&gt;&lt;SPAN class="keyword" style="color: #0000ff;"&gt;label&lt;/SPAN&gt;&lt;SPAN class="sep" style="color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string" style="color: #800080;"&gt;" "&lt;/SPAN&gt;&lt;SPAN class="sep" style="color: black;"&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="sec-keyword" style="color: #000080; font-weight: bold;"&gt;quit&lt;/SPAN&gt;&lt;SPAN class="sep" style="color: black;"&gt;;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;DIV&gt;&lt;SPAN class="sep" style="color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 12:54:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-proceed-with-Renaming-the-label-as-same-as-variable-name/m-p/203304#M266942</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2015-07-15T12:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: how to proceed with Renaming the label as same as variable name?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-proceed-with-Renaming-the-label-as-same-as-variable-name/m-p/203305#M266943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The LABEL statement attaches the label to the variable.&amp;nbsp; It is not really the same thing as renaming a variable.&lt;/P&gt;&lt;P&gt;If you set the label to blank then in most places SAS will just use the variable name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 13:15:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-proceed-with-Renaming-the-label-as-same-as-variable-name/m-p/203305#M266943</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2015-07-15T13:15:33Z</dc:date>
    </item>
  </channel>
</rss>

