title: sas import latest csv file in folder
body: <p>I have a folder that that has a file added to it each day as below</p>
  
  <p>Z:\old\stock110813.csv
  Z:\old\stock120813.csv
  Z:\old\stock130813.csv
  Z:\old\stock140813.csv</p>
  
  <ol>
  <li>I would like to import the latest file into SAS dynamically ie. searches the folder for the latest date </li>
  <li>or would like sas to make a copy of the latest and change the name &amp; location of the file</li>
  </ol>
  
  <p>I have been searching the web for days testing little bits of code but am struggling therefore any help would be appreciated.</p>
  
  <p>cheers John</p>