<?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: LSF Run job after another, disregarding the exit code in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/LSF-Run-job-after-another-disregarding-the-exit-code/m-p/450947#M13909</link>
    <description>&lt;P&gt;Are you using flows to run the jobs? If so then this should be possible in the flow properties which can be edited via management console:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Set the "Flow completion criteria" to All selected items end and the "Actions after the state of the flow is determined:" to continue running the flow and change the flow state after the flow is complete. I'd suggest leaving the source for the flow exit code as the default (the sum of the exit codes for all work items) or you may get a false positive if the last job in the flow succeeded.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Apr 2018 06:02:30 GMT</pubDate>
    <dc:creator>hamishcarpenter</dc:creator>
    <dc:date>2018-04-04T06:02:30Z</dc:date>
    <item>
      <title>LSF Run job after another, disregarding the exit code</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/LSF-Run-job-after-another-disregarding-the-exit-code/m-p/448620#M13828</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to run a job after another, disregarding the exit code of the first job. So even when the first job encounters an error, the second job should run.&lt;/P&gt;&lt;P&gt;I've tried several task events in Management Console, but nothing works. Every time the first job exits, the second doesn't start.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help me with this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Thierry&lt;/P&gt;</description>
      <pubDate>Mon, 26 Mar 2018 13:08:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/LSF-Run-job-after-another-disregarding-the-exit-code/m-p/448620#M13828</guid>
      <dc:creator>ThierryHerrie</dc:creator>
      <dc:date>2018-03-26T13:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: LSF Run job after another, disregarding the exit code</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/LSF-Run-job-after-another-disregarding-the-exit-code/m-p/450479#M13900</link>
      <description>&lt;P&gt;Are you using rsubmit, sasgsub or something else?&lt;BR /&gt;&lt;BR /&gt;You should be able to use a macro loop to submit multiple rsubmits or sasgsub jobs.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Apr 2018 22:20:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/LSF-Run-job-after-another-disregarding-the-exit-code/m-p/450479#M13900</guid>
      <dc:creator>dgritt</dc:creator>
      <dc:date>2018-04-02T22:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: LSF Run job after another, disregarding the exit code</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/LSF-Run-job-after-another-disregarding-the-exit-code/m-p/450878#M13905</link>
      <description>I don't have access to LSF at the moment, but if you don't have any failed job or similar trigger, I think it needs serious tweaking to make it work like you want.&lt;BR /&gt;&lt;BR /&gt;But it seem a bit odd that you want to "allow" error exit codes on your flow, how will you catch the exception and be sure that it doesn't get harder to fix if you continue the flow? As general (not specific!) advice is to cater for error handling in the job when it's feasable and predictive errors is managed.</description>
      <pubDate>Tue, 03 Apr 2018 20:42:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/LSF-Run-job-after-another-disregarding-the-exit-code/m-p/450878#M13905</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2018-04-03T20:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: LSF Run job after another, disregarding the exit code</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/LSF-Run-job-after-another-disregarding-the-exit-code/m-p/450947#M13909</link>
      <description>&lt;P&gt;Are you using flows to run the jobs? If so then this should be possible in the flow properties which can be edited via management console:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Set the "Flow completion criteria" to All selected items end and the "Actions after the state of the flow is determined:" to continue running the flow and change the flow state after the flow is complete. I'd suggest leaving the source for the flow exit code as the default (the sum of the exit codes for all work items) or you may get a false positive if the last job in the flow succeeded.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2018 06:02:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/LSF-Run-job-after-another-disregarding-the-exit-code/m-p/450947#M13909</guid>
      <dc:creator>hamishcarpenter</dc:creator>
      <dc:date>2018-04-04T06:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: LSF Run job after another, disregarding the exit code</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/LSF-Run-job-after-another-disregarding-the-exit-code/m-p/450959#M13910</link>
      <description>&lt;P&gt;Thanks Hamis, that did the trick.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13674"&gt;@LinusH&lt;/a&gt;&amp;nbsp;Reason I want to run job 2 after 1, even if job 1 encounters an error is because job 2 reads and analyses the log files.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Apr 2018 07:45:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/LSF-Run-job-after-another-disregarding-the-exit-code/m-p/450959#M13910</guid>
      <dc:creator>ThierryHerrie</dc:creator>
      <dc:date>2018-04-04T07:45:48Z</dc:date>
    </item>
  </channel>
</rss>

