title: renaming a set of variables in SAS with DO loop
body: <p>I've been trying to rename a set of variables from a scale using arrays and DO loops, but without success. This seems like a very simple task. Any advice on where I'm going wrong?</p>
  
  <pre><code>ARRAY ATRSS (i) ATRSS_1  ATRSS_12 ATRSS_13 ATRSS_25 ATRSS_29 ATRSS_30 ATRSS_32 ATRSS_33 ATRSS_35 ATRSS_36;;
  Array DIS (10) $ DIS1-DIS10; 
  
  DO i = 1, 2, 3, 4, 5, 6, 7, 8, 9, 10;
      DIS (i) = ATRSS(i);
  END;
  </code></pre>
  
  <p>I get the error: 
  Mixing of implicit and explicit array subscripting is not allowed.</p>
  
  <p>Thanks!</p>