title: Read by Row in SAS
body: <p>How do I read a data file one row at a time in SAS?
  Say, I have 3 lines of data</p>
  
  <pre><code>1.0 3.0 5.6 7.8
  2.3 4.9
  3.2 5.3 6.8 7.5 3.9 4.1
  </code></pre>
  
  <p>I have to read each line in a different variable. I want the data to look like. </p>
  
  <pre><code>A 1.0
  A 3.0
  A 5.6
  A 7.8
  B 2.3
  B 4.9
  C 3.2
  C 5.3
  C 6.8
  C 7.5
  C 3.9
  C 4.1
  </code></pre>
  
  <p>I tried a bunch of things. 
  If it has a variable name before every data point, following code works fine</p>
  
  <pre><code>INPUT group $ x @@;
  </code></pre>
  
  <p>I can't figure out how to go about this. Can someone please guide me on this? 
  Thanks</p>