<?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: Dynamically rename range list in SAS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Dynamically-rename-range-list-in-SAS/m-p/696774#M212883</link>
    <description>&lt;P&gt;So you want data in variables names. This is, in almost any case i came across, a bad idea an will make further usage of the data unnecessary difficult. So i would start by transposing the data to something like ID / Name / ORG_ID / Products / Date / Value.&lt;/P&gt;</description>
    <pubDate>Thu, 05 Nov 2020 05:22:29 GMT</pubDate>
    <dc:creator>andreas_lds</dc:creator>
    <dc:date>2020-11-05T05:22:29Z</dc:date>
    <item>
      <title>Dynamically rename range list in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Dynamically-rename-range-list-in-SAS/m-p/696754#M212871</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My dataset columns looks like below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ID Name ORG_ID Products Var_1 Var_2 Var_3 Var_4 Var_5&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to rename only the range lists which is Var_1--var_5, like&lt;/P&gt;
&lt;P&gt;Var_1 = Current month ending date&lt;/P&gt;
&lt;P&gt;Var_2= Prev month ending date....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My dataset would be like&lt;/P&gt;
&lt;P&gt;ID Name ORG_ID Products 30Nov2020 31Oct2020&amp;nbsp; 30Sep2020 .... so on&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can I achieve this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 02:44:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Dynamically-rename-range-list-in-SAS/m-p/696754#M212871</guid>
      <dc:creator>Pradeepbanu</dc:creator>
      <dc:date>2020-11-05T02:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically rename range list in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Dynamically-rename-range-list-in-SAS/m-p/696765#M212878</link>
      <description>&lt;P&gt;Did you know:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;30Nov2020 would normally be an invalid name for a variable.&lt;/LI&gt;
&lt;LI&gt;That name can be used, but becomes very clumsy.&amp;nbsp; To program with it, you would need to refer to it as "30Nov2020"n&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;If you need different column headings, why not use variable labels instead of trying to change the variable names?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 04:09:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Dynamically-rename-range-list-in-SAS/m-p/696765#M212878</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2020-11-05T04:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically rename range list in SAS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Dynamically-rename-range-list-in-SAS/m-p/696774#M212883</link>
      <description>&lt;P&gt;So you want data in variables names. This is, in almost any case i came across, a bad idea an will make further usage of the data unnecessary difficult. So i would start by transposing the data to something like ID / Name / ORG_ID / Products / Date / Value.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 05:22:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Dynamically-rename-range-list-in-SAS/m-p/696774#M212883</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2020-11-05T05:22:29Z</dc:date>
    </item>
  </channel>
</rss>

