<?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 rename a serial column names? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-rename-a-serial-column-names/m-p/365379#M86769</link>
    <description>&lt;P&gt;Well, arrays is one option:&lt;/P&gt;
&lt;PRE&gt;data want (drop=bd_dx_:);
  set have;
  array bd_dx_{32};
  array nad_dx_{32} $100;   /* assume character as you have not said */
  do i=1 to 32;
    nad_dx_{i}=bd_dx_{i};
  end;
run;&lt;/PRE&gt;
&lt;P&gt;I suppose the big question is, is there any benefit, if they were meant to be called that originally, why not change there?&lt;/P&gt;</description>
    <pubDate>Thu, 08 Jun 2017 13:57:07 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2017-06-08T13:57:07Z</dc:date>
    <item>
      <title>How to rename a serial column names?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-rename-a-serial-column-names/m-p/365369#M86763</link>
      <description>&lt;P&gt;Good morning,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 32 column (variables)&amp;nbsp;names from 'bd_dx_1' to 'bd_dx_32'.&amp;nbsp;&amp;nbsp; I would like to rename them&amp;nbsp;from 'nad_dx_1' to 'nad_dx_32', individually. Please help.&amp;nbsp; Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2017 13:56:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-rename-a-serial-column-names/m-p/365369#M86763</guid>
      <dc:creator>ybz12003</dc:creator>
      <dc:date>2017-06-08T13:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to rename a serial column names?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-rename-a-serial-column-names/m-p/365379#M86769</link>
      <description>&lt;P&gt;Well, arrays is one option:&lt;/P&gt;
&lt;PRE&gt;data want (drop=bd_dx_:);
  set have;
  array bd_dx_{32};
  array nad_dx_{32} $100;   /* assume character as you have not said */
  do i=1 to 32;
    nad_dx_{i}=bd_dx_{i};
  end;
run;&lt;/PRE&gt;
&lt;P&gt;I suppose the big question is, is there any benefit, if they were meant to be called that originally, why not change there?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2017 13:57:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-rename-a-serial-column-names/m-p/365379#M86769</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-06-08T13:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to rename a serial column names?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-rename-a-serial-column-names/m-p/365385#M86773</link>
      <description>&lt;P&gt;Rename statement or Rename data set option supports batch renaming of your kind:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
set have;
rename bd_dx_1-bd_dx_32=nad_dx_1-nad_dx_32;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 08 Jun 2017 14:03:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-rename-a-serial-column-names/m-p/365385#M86773</guid>
      <dc:creator>Haikuo</dc:creator>
      <dc:date>2017-06-08T14:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to rename a serial column names?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-rename-a-serial-column-names/m-p/365413#M86780</link>
      <description>&lt;P&gt;Thanks for all your kind help.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2017 15:22:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-rename-a-serial-column-names/m-p/365413#M86780</guid>
      <dc:creator>ybz12003</dc:creator>
      <dc:date>2017-06-08T15:22:53Z</dc:date>
    </item>
  </channel>
</rss>

