title: Extracting column names in SAS IML
body: <p>I was hoping to write a macro using IML that would be able to extract the column names of the dataset to use as names later. </p>
  
  <p>Some pseudocode:</p>
  
  <pre><code>    proc iml;
          read all dataset into matrix_a [colname = varnames];
          (...)
          names = varnames;
          create new_data_set [rownames = names];
      quit;
  </code></pre>
  
  <p>Is this possible?</p>