<?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: Run a subjob triggering by a file event in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Run-a-subjob-triggering-by-a-file-event/m-p/386911#M11684</link>
    <description>thanks and let me check in LSF&lt;BR /&gt;</description>
    <pubDate>Thu, 10 Aug 2017 09:29:18 GMT</pubDate>
    <dc:creator>R_Chung</dc:creator>
    <dc:date>2017-08-10T09:29:18Z</dc:date>
    <item>
      <title>Run a subjob triggering by a file event</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Run-a-subjob-triggering-by-a-file-event/m-p/384172#M11632</link>
      <description>&lt;P&gt;Hello everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a job(main_job) &amp;nbsp;which include a file event and a subjob as follow.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="delete.png" style="width: 342px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/14227i1B72724166D72030/image-size/large?v=v2&amp;amp;px=999" role="button" title="delete.png" alt="delete.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I want to run the &lt;SPAN&gt;main_jo&lt;/SPAN&gt;b seconds by seconds, which means the job &lt;FONT color="#FF0000"&gt;is always running&lt;/FONT&gt; without exiting.&lt;/LI&gt;&lt;LI&gt;Then I want to trigger the testFileEvent job to be ran by &lt;FONT color="#FF0000"&gt;modifying &lt;/FONT&gt;the file, which means&amp;nbsp;the testFileEvent job will run when the file in the file event is edited.&amp;nbsp;Every time when I click "save" to save the file, then the testFileEvent job runs.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Thankyou&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2017 07:05:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Run-a-subjob-triggering-by-a-file-event/m-p/384172#M11632</guid>
      <dc:creator>R_Chung</dc:creator>
      <dc:date>2017-07-31T07:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: Run a subjob triggering by a file event</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Run-a-subjob-triggering-by-a-file-event/m-p/384806#M11633</link>
      <description>&lt;P&gt;Are you talking about a program started in SAS Studio?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can create an infinite loop checking the file modification time and trigger another program as soon as a modification is recognized.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know how to setup such a process with the jobs defined in metadata.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2017 21:06:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Run-a-subjob-triggering-by-a-file-event/m-p/384806#M11633</guid>
      <dc:creator>error_prone</dc:creator>
      <dc:date>2017-08-01T21:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Run a subjob triggering by a file event</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Run-a-subjob-triggering-by-a-file-event/m-p/384847#M11634</link>
      <description>&lt;P&gt;I am doing it in sas management console&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2017 01:55:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Run-a-subjob-triggering-by-a-file-event/m-p/384847#M11634</guid>
      <dc:creator>R_Chung</dc:creator>
      <dc:date>2017-08-02T01:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Run a subjob triggering by a file event</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Run-a-subjob-triggering-by-a-file-event/m-p/384855#M11635</link>
      <description>A subjob is not a concept of SMC Scheduling Manager. You can define outer/inner jobs in DI Studio. What does your main job actually do?&lt;BR /&gt;File events is ASFAIK available only for Platform LSF, do you have that?</description>
      <pubDate>Wed, 02 Aug 2017 05:11:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Run-a-subjob-triggering-by-a-file-event/m-p/384855#M11635</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-08-02T05:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: Run a subjob triggering by a file event</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Run-a-subjob-triggering-by-a-file-event/m-p/385006#M11636</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/139803"&gt;@R_Chung&lt;/a&gt;, are you using DI Studio? An internal expert here at SAS is asking. If so, it may make sense to move this thread over to the &lt;A href="https://communities.sas.com/t5/SAS-Data-Management/bd-p/data_management" target="_self"&gt;Data Management Community&lt;/A&gt;, where more of your peers are equipped to answer. Thanks,&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13674"&gt;@LinusH&lt;/a&gt;&amp;nbsp;and &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/43025"&gt;@error_prone&lt;/a&gt;, for helping clarify the question!&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2017 15:09:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Run-a-subjob-triggering-by-a-file-event/m-p/385006#M11636</guid>
      <dc:creator>BeverlyBrown</dc:creator>
      <dc:date>2017-08-02T15:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: Run a subjob triggering by a file event</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Run-a-subjob-triggering-by-a-file-event/m-p/385179#M11637</link>
      <description>I have no idea how to implement in either SMC or DI or both</description>
      <pubDate>Thu, 03 Aug 2017 04:21:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Run-a-subjob-triggering-by-a-file-event/m-p/385179#M11637</guid>
      <dc:creator>R_Chung</dc:creator>
      <dc:date>2017-08-03T04:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: Run a subjob triggering by a file event</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Run-a-subjob-triggering-by-a-file-event/m-p/385326#M11638</link>
      <description>Ok, but to be able to get any relevant feedback start by answering my questions.&lt;BR /&gt;Perhaps describe the overall application and requirements.&lt;BR /&gt;If you don't even where to start I think you might need some on site support.</description>
      <pubDate>Thu, 03 Aug 2017 14:36:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Run-a-subjob-triggering-by-a-file-event/m-p/385326#M11638</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-08-03T14:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: Run a subjob triggering by a file event</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Run-a-subjob-triggering-by-a-file-event/m-p/385557#M11646</link>
      <description>&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13674"&gt;@LinusH&lt;/a&gt;&lt;BR /&gt;In high level description, when there is any modification from a file, this action should trigger a job to start.&lt;BR /&gt;&lt;BR /&gt;e.g.&lt;BR /&gt;file a&lt;BR /&gt;job b&lt;BR /&gt;&lt;BR /&gt;when I edit file a and save it&lt;BR /&gt;this action will trigger job b to run</description>
      <pubDate>Fri, 04 Aug 2017 03:55:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Run-a-subjob-triggering-by-a-file-event/m-p/385557#M11646</guid>
      <dc:creator>R_Chung</dc:creator>
      <dc:date>2017-08-04T03:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: Run a subjob triggering by a file event</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Run-a-subjob-triggering-by-a-file-event/m-p/385659#M11649</link>
      <description>So, again, if you have Platform LSF I think there is a file event for modifications  (I don't have access to SAS nor LSF at this point to verify).&lt;BR /&gt;Otherwise you probably need to develop a scripts of some sort to do this. If you have another scheduling tool at your site talk to the maintenance team for that, they should be able to help you.&lt;BR /&gt;Either way, no need for a main job. Just create the jobs you see fit, and leave the event handling to the scheduler. In case of a non SAS supported schedule, still create the job flow in SMC Scheduling Manager, and deploy it for manual execution. Then an OS script is created that can be called by the schedule of your choice.</description>
      <pubDate>Fri, 04 Aug 2017 14:20:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Run-a-subjob-triggering-by-a-file-event/m-p/385659#M11649</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-08-04T14:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Run a subjob triggering by a file event</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Run-a-subjob-triggering-by-a-file-event/m-p/386911#M11684</link>
      <description>thanks and let me check in LSF&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Aug 2017 09:29:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Run-a-subjob-triggering-by-a-file-event/m-p/386911#M11684</guid>
      <dc:creator>R_Chung</dc:creator>
      <dc:date>2017-08-10T09:29:18Z</dc:date>
    </item>
  </channel>
</rss>

