<?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: rename column in data step in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/rename-column-in-data-step/m-p/32018#M7663</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Am I missing something or do the following produce the exact same output?&lt;/P&gt;&lt;P&gt;What was the first one supposed to do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc print data=sashelp.class;&lt;/P&gt;&lt;P&gt;&amp;nbsp; var name-numeric-weight;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc print data=sashelp.class;&lt;/P&gt;&lt;P&gt;&amp;nbsp; var _numeric_;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Mar 2012 23:13:37 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2012-03-15T23:13:37Z</dc:date>
    <item>
      <title>rename column in data step</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/rename-column-in-data-step/m-p/32009#M7654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data chi (drop = no yes rename=tin=who);&lt;/P&gt;&lt;P&gt;set tax;&lt;/P&gt;&lt;P&gt;array _col(2) no yes;&lt;/P&gt;&lt;P&gt;do _n_=1 to 2;&lt;/P&gt;&lt;P&gt;admission = vname (_col(_n_));&lt;/P&gt;&lt;P&gt;count = _col(_n_);&lt;/P&gt;&lt;P&gt;output;&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It does not change my column named tin to name it who instead. everything else works great. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 20:56:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/rename-column-in-data-step/m-p/32009#M7654</guid>
      <dc:creator>tmm</dc:creator>
      <dc:date>2012-03-14T20:56:50Z</dc:date>
    </item>
    <item>
      <title>rename column in data step</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/rename-column-in-data-step/m-p/32010#M7655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;data c&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;hi (drop = yes no RENAME=(TIN=WHO));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;set tax;&lt;/P&gt;&lt;P&gt;array _col(2) no yes;&lt;/P&gt;&lt;P&gt;do _n_=1 to 2;&lt;/P&gt;&lt;P&gt;admission = vname (_col(_n_));&lt;/P&gt;&lt;P&gt;count = _col(_n_);&lt;/P&gt;&lt;P&gt;output;&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 10pt; color: #000080; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 21:07:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/rename-column-in-data-step/m-p/32010#M7655</guid>
      <dc:creator>Hima</dc:creator>
      <dc:date>2012-03-14T21:07:08Z</dc:date>
    </item>
    <item>
      <title>rename column in data step</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/rename-column-in-data-step/m-p/32011#M7656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hum. That did not work. It is still named TIN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 21:31:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/rename-column-in-data-step/m-p/32011#M7656</guid>
      <dc:creator>tmm</dc:creator>
      <dc:date>2012-03-14T21:31:57Z</dc:date>
    </item>
    <item>
      <title>rename column in data step</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/rename-column-in-data-step/m-p/32012#M7657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You might still see the name 'tin' because the label assigned to the variable 'who' is 'tin'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try the following with all labels removed. Or just right click the variable and check the properties.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;data c&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;hi (drop = yes no RENAME=(TIN=WHO));&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;set tax;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;EM&gt;attrib _all_ label='';&lt;/EM&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;array _col(2) no yes;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;do _n_=1 to 2;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;admission = vname (_col(_n_));&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;count = _col(_n_);&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;output;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;end;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;run;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 22:14:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/rename-column-in-data-step/m-p/32012#M7657</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2012-03-14T22:14:02Z</dc:date>
    </item>
    <item>
      <title>rename column in data step</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/rename-column-in-data-step/m-p/32013#M7658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you just have one variable to rename, parenthesis is not must to have, your original code should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My guess is that the variable name has already been changed, however, the label is still 'tin'.&amp;nbsp; When you open in explorer, it still shows the original label name. Find out the answer by double click the variable name or use proc print, proc contents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Haikuo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 22:22:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/rename-column-in-data-step/m-p/32013#M7658</guid>
      <dc:creator>Haikuo</dc:creator>
      <dc:date>2012-03-14T22:22:16Z</dc:date>
    </item>
    <item>
      <title>rename column in data step</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/rename-column-in-data-step/m-p/32014#M7659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Haikuo: A second thing I learned this week!&amp;nbsp; And it is only Wednesday!&amp;nbsp; I'm still going to use parentheses in my own recode statements, as I know it will ALWAYS work regardless of the number of variables being recoded, but I never knew that you didn't need them for just one recode.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 22:54:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/rename-column-in-data-step/m-p/32014#M7659</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-03-14T22:54:07Z</dc:date>
    </item>
    <item>
      <title>rename column in data step</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/rename-column-in-data-step/m-p/32015#M7660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Art, if I have to&amp;nbsp; count how many SAS stuff that I have learned directly from you, I would need a counter that at least supports 3 digits. :smileysilly:. BTW, what was the first thing if you don't mind sharing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Haikuo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 23:28:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/rename-column-in-data-step/m-p/32015#M7660</guid>
      <dc:creator>Haikuo</dc:creator>
      <dc:date>2012-03-14T23:28:35Z</dc:date>
    </item>
    <item>
      <title>rename column in data step</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/rename-column-in-data-step/m-p/32016#M7661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Haikuo: Howard's use of imbedding _numeric_ and _character_ in variable lists.&amp;nbsp; e.g.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; font-family: Arial, Helvetica, sans-serif;"&gt;proc print data=sashelp.class;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; font-family: Arial, Helvetica, sans-serif;"&gt;&amp;nbsp; var name-numeric-weight;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; font-family: Arial, Helvetica, sans-serif;"&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hey, I've been trying to learn this language for 38 years now and, almost every week, still learn something I didn't know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 23:57:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/rename-column-in-data-step/m-p/32016#M7661</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-03-14T23:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: rename column in data step</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/rename-column-in-data-step/m-p/32017#M7662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Art! And Howard! This is so COOL!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2012 22:46:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/rename-column-in-data-step/m-p/32017#M7662</guid>
      <dc:creator>Haikuo</dc:creator>
      <dc:date>2012-03-15T22:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: rename column in data step</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/rename-column-in-data-step/m-p/32018#M7663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Am I missing something or do the following produce the exact same output?&lt;/P&gt;&lt;P&gt;What was the first one supposed to do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc print data=sashelp.class;&lt;/P&gt;&lt;P&gt;&amp;nbsp; var name-numeric-weight;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc print data=sashelp.class;&lt;/P&gt;&lt;P&gt;&amp;nbsp; var _numeric_;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2012 23:13:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/rename-column-in-data-step/m-p/32018#M7663</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2012-03-15T23:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: rename column in data step</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/rename-column-in-data-step/m-p/32019#M7664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fareeza,&amp;nbsp; My fault!&amp;nbsp; I unsuccessfully tried to copy and paste from a previous post.&amp;nbsp; Try the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc print data=sashelp.class;&lt;/P&gt;&lt;P&gt;&amp;nbsp; var name _numeric_;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc print data=sashelp.class;&lt;/P&gt;&lt;P&gt;&amp;nbsp; var _numeric_;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2012 23:53:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/rename-column-in-data-step/m-p/32019#M7664</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-03-15T23:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: rename column in data step</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/rename-column-in-data-step/m-p/32020#M7665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That makes way more sense! Thanks&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2012 00:02:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/rename-column-in-data-step/m-p/32020#M7665</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2012-03-16T00:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: rename column in data step</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/rename-column-in-data-step/m-p/32021#M7666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Art,&lt;/P&gt;&lt;P&gt;I thought you wanted to show how to print all numeric or character variables between two variables. In the example below, the two outputs are different.&amp;nbsp; Thanks -Linlin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data class;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set sashelp.class;&lt;/P&gt;&lt;P&gt;&amp;nbsp; age2=age;&lt;/P&gt;&lt;P&gt;&amp;nbsp; w2=weight;&lt;/P&gt;&lt;P&gt;proc print data=class;&lt;/P&gt;&lt;P&gt;title print out all numeric variables;&lt;/P&gt;&lt;P&gt;var _numeric_;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;proc print data=class;&lt;/P&gt;&lt;P&gt;title print out all numeric variables between name and weight;&lt;/P&gt;&lt;P&gt;&amp;nbsp; var name-numeric-weight;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2012 01:12:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/rename-column-in-data-step/m-p/32021#M7666</guid>
      <dc:creator>Linlin</dc:creator>
      <dc:date>2012-03-16T01:12:53Z</dc:date>
    </item>
  </channel>
</rss>

