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

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
palak08
Participant
Posts: 75
Joined: Thu Nov 04, 2010 5:54 pm

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

Post 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!
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

That usually means the job is already running.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Or that it has been changed in Designer and not yet (successfully) compiled.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply