title: Proc IMPORT - csv files - avoid variables names as VARx
body: <p>After using <code>PROC IMPORT</code> I sometimes have in the dataset variable names as <code>VAR2</code> or <code>VAR3</code> ...(depending on the last column reading).
  In the csv file, the column does indeed have a name which is not <code>"VARx"</code>.</p>
  
  <p>How to avoid SAS producing the variable name as <code>"VARx"</code> in the <code>proc import</code> ?</p>
  
  <pre><code>proc import file = "location_of_file\file.csv"
     out = csv;
     dbms = csv REPLACE;
     guessingrows = 32767;
     getnames = yes;
  run;
  
  proc print data=csv;
  run;
  
  
  ============================================
  Obs ID NAME VAR3 
  1   1  xxx  yyy 
  2   2  zzz  aaa 
  </code></pre>
  
  <p>The csv file contains column names as ID NAME and SURNAME.</p>