title: Repeating rows in SAS
body: <p>In SAS, how do I repeat the first 4 rows of a variable until the last observation? It should look something like this:</p>
  
  <pre><code>DATA Have; 
     INPUT HAVE$ ; 
     DATALINES; 
  A
  B
  C
  D
  .
  .
  .
  .
  ; 
  PROC PRINT; RUN;
  
  DATA want; 
     INPUT WANT$ ; 
     DATALINES; 
  A
  B
  C
  D
  A
  B
  C
  D
  ; 
  PROC PRINT; RUN;
  </code></pre>