Page 1 of 1

Find the Job Status

Posted: Fri May 11, 2007 7:32 am
by asitagrawal
Hi All,

I am using DSRunJob() to run a job from the routine.

How do I check the job's completion status in the same routine ??

If I am trying to use DSGetJobInfo(),, then I get status as 3 i.e Running..

But I want to capture the job's finish status ... How ??

Posted: Fri May 11, 2007 8:07 am
by DSguru2B
Look at the code of sdk routine, under Utility, UtilityRunJob(). It shows you how to get the jobstatus after running a job using DSRunJob()

Posted: Fri May 11, 2007 3:42 pm
by ray.wurlod
Status 3 is not Running. Status 0 is Running. Status 3 is Aborted. This suggests you have something else you need to investigate. Why is the job aborting?