Job instance in "Compiled" state
Moderators: chulett, rschirm, roy
Job instance in "Compiled" state
Hi,
I am going through a strange problem. I have a multiple instance job which has instance id as "Invocatin Id". The job runs for around 20 multiple instances. The problem is for one of the instance the job is not running. It shows that instance in "Compiled" state. The original compiled job is in its place. All the other 19 instances are in "finished" state. Only one of the instance its not able to run. Its aborting with the error "Job not in a runnable state". Since its in "compiled" state i am not able to reset the job also. I have tried clearing the status for this job. But still the problem exists.
Never heard or came across about an instance of a job in "Compiled" state. Can someone help me in this.
Thanks,
I am going through a strange problem. I have a multiple instance job which has instance id as "Invocatin Id". The job runs for around 20 multiple instances. The problem is for one of the instance the job is not running. It shows that instance in "Compiled" state. The original compiled job is in its place. All the other 19 instances are in "finished" state. Only one of the instance its not able to run. Its aborting with the error "Job not in a runnable state". Since its in "compiled" state i am not able to reset the job also. I have tried clearing the status for this job. But still the problem exists.
Never heard or came across about an instance of a job in "Compiled" state. Can someone help me in this.
Thanks,
- Jaysheel -
-
- Participant
- Posts: 246
- Joined: Mon Jun 30, 2008 3:22 am
- Location: New York
- Contact:
I have tried just now.arunkumarmm wrote:I guess "Not in a runnable state" error may occur if you are trying to run the job with same Invocation ID more than once at the same time.
It's not at all possible to run a multi instanced job with same invocation id more than once, it pops up an error message while clicking run button in director.
pandeeswaran
Re: Job instance in "Compiled" state
I have no idea what that last sentence means. The "original" job will always show Compiled if it is only ever run with an Invocation ID. And you'll not find an instance of an Invocation ID in the Director if it has never been started. You've seen that you can't manually start two with the same ID at the same time, the same is true inside a Sequence job or scheduler. Trying to do so will log that "not in a runnable state" message, which usually means it is already running.jaysheel wrote:The problem is for one of the instance the job is not running. It shows that instance in "Compiled" state. The original compiled job is in its place.
I would double-check exactly what Invocation IDs you are using and ensure there's no accidental duplication there.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
thanks Arun,
Yes all these instances are parallel. They run at the same time. May be in an interval of few seconds. I cant run the job for only one instance. When it runs it runs for all the instances from Mainframe. I am sure that the invocation ids are not same for this job. I feel something is wrong with the status table. I even tried clearing the status for this in the table. But that too didnt work. Its happening for the past few runs. I am sure no one made any modifications for the job as per my best knowledge.
Yes all these instances are parallel. They run at the same time. May be in an interval of few seconds. I cant run the job for only one instance. When it runs it runs for all the instances from Mainframe. I am sure that the invocation ids are not same for this job. I feel something is wrong with the status table. I even tried clearing the status for this in the table. But that too didnt work. Its happening for the past few runs. I am sure no one made any modifications for the job as per my best knowledge.
- Jaysheel -
Re: Job instance in "Compiled" state
Craig,chulett wrote:I would double-check exactly what Invocation IDs you are using and ensure there's no accidental duplication there.
what do you mean by accidental duplication?
i believe under any circumstances no two instances can have same invocation id.
Thanks
pandeeswaran
So... you have an entry in the Director for a run of the base job with a valid Invocation ID shown and that status shows as 'Compiled'? Not sure that I recall seeing that before, if that's what you are saying. ![Confused :?](./images/smilies/icon_confused.gif)
Compiling the base job again will clear those invocations from the Director, that or you can purge the log from the base job. Perhaps that might help.
![Confused :?](./images/smilies/icon_confused.gif)
Compiling the base job again will clear those invocations from the Director, that or you can purge the log from the base job. Perhaps that might help.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 10
- Joined: Thu Nov 16, 2006 5:55 am
- Location: Pune
- Contact: