title: How to rename variables dynamically in sas?
body: <p>I have a sas data set. In it i have some variables following a pattern</p>
  
  <pre><code> -W 51 Sales
   -W 52 Sales
   -W 53 Sales
  </code></pre>
  
  <p>and so on.</p>
  
  <p>Now i want to rename all of these variables dynamically such that <strong>W 51</strong> is replaced by starting date of that week and the new name becomes  - <strong>5/2/2013 Sales</strong>?</p>
  
  <p>The reason i want to rename them is that i have sales data of all the 53 weeks in an year and the data set would be eassier for me to understand if i had the starting date of a week instead of W(week_no) Sales as a variable name</p>
  
  <p>Is there any way i can do that in sas?</p>