Page 1 of 1

dsjob run sequential execution

Posted: Thu Dec 27, 2007 12:56 pm
by ds_is_fun
I have two job sequences created. I will need to run the second sequence based on the return value of the first from command line.
How do I kick of the second job from the script based on the return value of the first kick off.
Thanks

Re: dsjob run sequential execution

Posted: Thu Dec 27, 2007 1:26 pm
by gateleys
Write a shell script which checks for the return value from the first sequence job. Then, if the right value is got, then fire off your dsjob command from within the script.

Also, if your second sequence is always dependent on the return value of the first sequence, you could have combined them into the same sequence, with the trigger set accordingly.

Posted: Thu Dec 27, 2007 2:37 pm
by ray.wurlod
I'd prefer to use a master sequence rather than a script to do this.