<?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: Renaming variables mysterie in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Renaming-variables-mysterie/m-p/615190#M76941</link>
    <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/274244"&gt;@Biniie&lt;/a&gt;&amp;nbsp; One possibility is that it may display &lt;STRONG&gt;labels&lt;/STRONG&gt; if permanent labels are associated with variable names. Did you check that in proc contents by any chance as well?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please post the proc contents output if you can. Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Other possibility though may sound silly, you might be opening the&amp;nbsp;&lt;STRONG&gt;old_data&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 05 Jan 2020 14:45:38 GMT</pubDate>
    <dc:creator>novinosrin</dc:creator>
    <dc:date>2020-01-05T14:45:38Z</dc:date>
    <item>
      <title>Renaming variables mysterie</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Renaming-variables-mysterie/m-p/615189#M76940</link>
      <description>&lt;P&gt;I have a simple dataset with two variable called "cc" and "ss", and I want to rename them using a datastep like the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data new_data;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;set old_data;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;rename cc=vcc ss=vss;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After the datastep, I run a proc contents to see that the variable names are change correctly - which they are. But if I then afterwards opens the actual new dataset, where the new variable name should be assigned, then I can't see the newly assigned names - like nothing have happend at all.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know, why this happens and how I can fix it?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jan 2020 14:25:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Renaming-variables-mysterie/m-p/615189#M76940</guid>
      <dc:creator>Biniie</dc:creator>
      <dc:date>2020-01-05T14:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming variables mysterie</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Renaming-variables-mysterie/m-p/615190#M76941</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/274244"&gt;@Biniie&lt;/a&gt;&amp;nbsp; One possibility is that it may display &lt;STRONG&gt;labels&lt;/STRONG&gt; if permanent labels are associated with variable names. Did you check that in proc contents by any chance as well?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please post the proc contents output if you can. Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Other possibility though may sound silly, you might be opening the&amp;nbsp;&lt;STRONG&gt;old_data&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jan 2020 14:45:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Renaming-variables-mysterie/m-p/615190#M76941</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2020-01-05T14:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming variables mysterie</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Renaming-variables-mysterie/m-p/615192#M76942</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/138205"&gt;@novinosrin&lt;/a&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Of course!! It did show the variabels labels (which was identical with the old-names") instead of the variables names.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for solving my mysterie &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jan 2020 14:47:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Renaming-variables-mysterie/m-p/615192#M76942</guid>
      <dc:creator>Biniie</dc:creator>
      <dc:date>2020-01-05T14:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming variables mysterie</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Renaming-variables-mysterie/m-p/615193#M76943</link>
      <description>&lt;P&gt;Glad, that was the problem. Have fun! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jan 2020 14:52:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Renaming-variables-mysterie/m-p/615193#M76943</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2020-01-05T14:52:04Z</dc:date>
    </item>
  </channel>
</rss>

