<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Verify file date windows in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Verify-file-date-windows/m-p/314899#M68642</link>
    <description>modified date is returned by the FINFO() function.&lt;BR /&gt;See&lt;BR /&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/hostwin/69955/HTML/default/viewer.htm#n0vegoaf5t6s31n1wu1qok4swqye.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/hostwin/69955/HTML/default/viewer.htm#n0vegoaf5t6s31n1wu1qok4swqye.htm&lt;/A&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 28 Nov 2016 17:39:02 GMT</pubDate>
    <dc:creator>Peter_C</dc:creator>
    <dc:date>2016-11-28T17:39:02Z</dc:date>
    <item>
      <title>Verify file date windows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Verify-file-date-windows/m-p/314895#M68640</link>
      <description>&lt;P&gt;I developed a program that verify if exist a file in a directory. If the file exist the program start to run.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've researched how to verify the modification date of the file(Windows) but I'm not finding anything about that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For exemplo: if there is a file called TESTE.TXT in my directory and the modification date is the same as current date my program start to run.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is that possible to do?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SAS CODE:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%LET TESTFILE = "F:/teste/TESTE.TXT";            

%MACRO FINDIT;  
 
	%DO %UNTIL(%SYSFUNC(FILEEXIST(&amp;amp;TESTFILE)));

%END;

			PROC SQL;
			CREATE TABLE WORK.TESTE_II AS 
			SELECT *
			FROM WORK.TESTE;
			QUIT;	
		
%MEND;                                         
    
%FINDIT;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2016 17:15:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Verify-file-date-windows/m-p/314895#M68640</guid>
      <dc:creator>Bottoni</dc:creator>
      <dc:date>2016-11-28T17:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: Verify file date windows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Verify-file-date-windows/m-p/314899#M68642</link>
      <description>modified date is returned by the FINFO() function.&lt;BR /&gt;See&lt;BR /&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/hostwin/69955/HTML/default/viewer.htm#n0vegoaf5t6s31n1wu1qok4swqye.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/hostwin/69955/HTML/default/viewer.htm#n0vegoaf5t6s31n1wu1qok4swqye.htm&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 28 Nov 2016 17:39:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Verify-file-date-windows/m-p/314899#M68642</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2016-11-28T17:39:02Z</dc:date>
    </item>
  </channel>
</rss>

