Page 1 of 1

Job is not in the right state (compiled and not running)

Posted: Tue Dec 21, 2010 12:53 pm
by palak08
I have one sequence in which I have implemented restart ability. In that sequence there is one job which has been used 10 times. This job does nothing but update status.

This job runs fine for 5-6 times with status FINISHED (no warning at all) and suddenly it don't run. When I checked in log message I got following warning message:

Code: Select all

JobControl (@ser_updatestatus): Controller problem: Error calling DSRunJob(ser_updatestatus), code=-2
[Job is not in the right state (compiled and not running)]
While I implemented restart ability I have chosen Reset if required, then run option for this job.

I am not sure what I am missing here and why this job runs fine for 5-6 times and then fail.

Any help will be much appreciated.

Thanks!

Posted: Tue Dec 21, 2010 2:23 pm
by chulett
That usually means the job is already running.

Posted: Tue Dec 21, 2010 3:27 pm
by ray.wurlod
Or that it has been changed in Designer and not yet (successfully) compiled.