title: How to do "DO Loop" in SAS
body: <p>I'm new to SAS, and I'm having trouble with Do Loops. Below is a snippet of the code.</p>
  
  <pre><code>DATA _NULL_;
  set testing;
      do i=_N_ to 4;
          call symputx(NAME,"E&amp;_N_");
      end;
  %PUT =&amp;E&amp;_N_; 
  run;
  </code></pre>
  
  <p>I'm expecting it to output something below: </p>
  
  <pre><code>E1 = A
  E2 = B 
  E3 = C
  E4 = D 
  </code></pre>
  
  <p>However, I can't seem to get it to work. Any ideas what I'm doing wrong? Thanks for you help.</p>