<?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: Delay running code using a dataset modate/created date in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Delay-running-code-using-a-dataset-modate-created-date/m-p/170209#M301343</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please exemplify? Are there rules on what jobs should run how often etc? What do you mean by delay?&lt;/P&gt;&lt;P&gt;Depending on the complexity of your system, it sounds like you could benefit from using scheduling software.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Feb 2014 11:44:42 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2014-02-11T11:44:42Z</dc:date>
    <item>
      <title>Delay running code using a dataset modate/created date</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Delay-running-code-using-a-dataset-modate-created-date/m-p/170208#M301342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to delay the code I am running using the date modified/created of a key dataset.&amp;nbsp; So, only run once xx dataset is updated for the day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been trying to find if this is possible but cannot see anything obvious.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any tips/suggestions/solutions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 10:22:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Delay-running-code-using-a-dataset-modate-created-date/m-p/170208#M301342</guid>
      <dc:creator>Paul_Collier</dc:creator>
      <dc:date>2014-02-11T10:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: Delay running code using a dataset modate/created date</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Delay-running-code-using-a-dataset-modate-created-date/m-p/170209#M301343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please exemplify? Are there rules on what jobs should run how often etc? What do you mean by delay?&lt;/P&gt;&lt;P&gt;Depending on the complexity of your system, it sounds like you could benefit from using scheduling software.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 11:44:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Delay-running-code-using-a-dataset-modate-created-date/m-p/170209#M301343</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2014-02-11T11:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Delay running code using a dataset modate/created date</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Delay-running-code-using-a-dataset-modate-created-date/m-p/170210#M301344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Specifically.&amp;nbsp; I run a piece of code on a dataset.&amp;nbsp; This occurs daily but the source dataset is updated at a variable point in the day.&amp;nbsp; It can be 9am or as late as 1pm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The source data is updated as part of a batch process.&amp;nbsp; My code cannot be included in the batch process so I am looking to delay the running of it until the source data has had the daily updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this help to clarify the requirement?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 11:53:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Delay-running-code-using-a-dataset-modate-created-date/m-p/170210#M301344</guid>
      <dc:creator>Paul_Collier</dc:creator>
      <dc:date>2014-02-11T11:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Delay running code using a dataset modate/created date</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Delay-running-code-using-a-dataset-modate-created-date/m-p/170211#M301345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are not going all in for a scheduler, you could create a code snippet that checks the SAS table for update time (there is a SAS file function available for this), then checks a log table for completed executions. Then terminate the session if not the execution criteria is fulfilled (or do %include or similar call if executions criteria is fulfilled).&lt;/P&gt;&lt;P&gt;Then o course you need to add to the log after a successful execution is done.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2014 14:05:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Delay-running-code-using-a-dataset-modate-created-date/m-p/170211#M301345</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2014-02-11T14:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: Delay running code using a dataset modate/created date</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Delay-running-code-using-a-dataset-modate-created-date/m-p/170212#M301346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply.&amp;nbsp; That broadly makes sense to me - do you have any pointers as I am still a relative novice sas coder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks very much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Feb 2014 16:25:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Delay-running-code-using-a-dataset-modate-created-date/m-p/170212#M301346</guid>
      <dc:creator>Paul_Collier</dc:creator>
      <dc:date>2014-02-17T16:25:17Z</dc:date>
    </item>
  </channel>
</rss>

