Page 1 of 1

Job Sequencer process

Posted: Tue Oct 26, 2004 4:54 am
by denzilsyb
Hallo all

If we have a MASTERCONTROL (Sequencer) controlling a series of JOBSEQUENCERS which in turn control individual jobs, we sit with the following problem:

If an individual job fails, the JOBSEQUENCER finishes OK and the MASTERCONTROL that sms's us says that all the jobs are finished OK. which is, well, bull.

Is there any way to crash a JOBSEQUENCER from the underlying job so that the MASTERCONTROL can inform us of the correct status of the run? Or is there any advice.

thanks

Posted: Tue Oct 26, 2004 6:08 am
by jeredleo
We created a routine to fail the sequencer if any executed jobs fail. So you would set up a Sequence stage in your lower sequencers that collects 'ANY' job failures that will then run this job failure routine. The only thing we have in the code is below with an argument to pass in a failure message

Call DSLogFatal(FatalMessage,"Rejects Link")

Ans = 0


Otherwise if you have DS 7.5 look into setting up your job with restartability and all your controlling sequencers with 'abort' when you want them to.

JB

Posted: Tue Oct 26, 2004 4:28 pm
by kduke
This also works in Ds7.1 but no earlier releases.

Posted: Tue Oct 26, 2004 5:50 pm
by gh_amitava
Hi,

To control your job you need to write Job control routine.

Regards
Amitava