title: SAS: PROC IMPORT: CSV WITH DATES AS VAR NAMES
body: <p>I'm importing CSV data in the following format:</p>
  
  <pre>
  SEDOL,12/08/2009,13/08/2009,14/08/2009,17/08/2009,18/08/2009
  B1YVN39,7.8431,7.8431,7.8431,7.8431,7.598
  B00G7R3,3.8,3.61,3.81,3.81,3.81
  2965237,4.5351,4.5351,4.5351,4.5351,4.5351
  2554345,7.355,7.355,7.355,7.355,7.355
  </pre>
  
  <p>I'm using the following command:</p>
  
  <pre><code>PROC IMPORT OUT= want
              DATAFILE= have 
              DBMS=CSV REPLACE;
  RUN;
  </code></pre>
  
  <p>Then transposing the data to long format, as follows:</p>
  
  <pre><code>PROC SORT DATA=want OUT=want; BY SEDOL;RUN; 
  proc transpose data=want out=transp;
      by SEDOL;
  run;
  proc print; run;
  </code></pre>
  
  <p>How can I import the dates correctly formatted and change the variable type from default to date?</p>