<?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 the group of variables in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Renaming-the-group-of-variables/m-p/776892#M31431</link>
    <description>&lt;P&gt;Yes&lt;/P&gt;</description>
    <pubDate>Thu, 28 Oct 2021 06:38:08 GMT</pubDate>
    <dc:creator>Pooja98</dc:creator>
    <dc:date>2021-10-28T06:38:08Z</dc:date>
    <item>
      <title>Renaming the group of variables</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Renaming-the-group-of-variables/m-p/776888#M31429</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have the column name as week1 week2, week3 and so on upto week100.&lt;/P&gt;&lt;P&gt;i need week1 as 29-Oct and week2 as 22-Oct and week3 as 15-Oct and so on.&lt;/P&gt;&lt;P&gt;Like, week 1 is current week, week2 is -7 of current week.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example,&lt;/P&gt;&lt;P&gt;week1&amp;nbsp; &amp;nbsp; &amp;nbsp;week2&amp;nbsp; &amp;nbsp; &amp;nbsp; week3&amp;nbsp;&lt;/P&gt;&lt;P&gt;29-Oct&amp;nbsp; &amp;nbsp; &amp;nbsp; 22-Oct&amp;nbsp; &amp;nbsp; &amp;nbsp; 15-Oct&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 06:25:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Renaming-the-group-of-variables/m-p/776888#M31429</guid>
      <dc:creator>Pooja98</dc:creator>
      <dc:date>2021-10-28T06:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming the group of variables</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Renaming-the-group-of-variables/m-p/776889#M31430</link>
      <description>&lt;P&gt;Should it always be the friday of the week?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 06:30:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Renaming-the-group-of-variables/m-p/776889#M31430</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2021-10-28T06:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming the group of variables</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Renaming-the-group-of-variables/m-p/776892#M31431</link>
      <description>&lt;P&gt;Yes&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 06:38:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Renaming-the-group-of-variables/m-p/776892#M31431</guid>
      <dc:creator>Pooja98</dc:creator>
      <dc:date>2021-10-28T06:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming the group of variables</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Renaming-the-group-of-variables/m-p/776894#M31432</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
   array w {*} week1 - week100;
   
   w[1] = intnx("week.6", date(), 1);
   
   do i = 2 to dim(w);
      w[i] = w[i - 1] - 7;
   end;
   
   format week: date9.;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 28 Oct 2021 06:44:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Renaming-the-group-of-variables/m-p/776894#M31432</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2021-10-28T06:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming the group of variables</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Renaming-the-group-of-variables/m-p/776905#M31433</link>
      <description>&lt;P&gt;Not working&lt;/P&gt;&lt;P&gt;the values below the week column got changed&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 07:06:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Renaming-the-group-of-variables/m-p/776905#M31433</guid>
      <dc:creator>Pooja98</dc:creator>
      <dc:date>2021-10-28T07:06:29Z</dc:date>
    </item>
  </channel>
</rss>

