Running a job when an existing job finishes
Posted: Thu Mar 24, 2005 9:14 am
I have a job running. I want another job to start when it finishes. Am I doomed to hitting refresh in DataStage Director?
A short text to describe your forum
http://dsxchange.com./
I don't think that helps when the first job is already running.ArndW wrote:Phil,
you can always use a job sequence to do this, that is your easiest solution.
Code: Select all
l
$DSHOME/DSEngine/bin/dsjob -jobinfo $PROJECT $JOBNAME | grep "Job Status"
Use a sleep and repeat every 10 seconds.
If the result is Run With Warnngs " or whatever you decide accordingly and kick off the next job.