Job in state running

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
samsuf2002
Premium Member
Premium Member
Posts: 397
Joined: Wed Apr 12, 2006 2:28 pm
Location: Tennesse

Post by samsuf2002 »

Try killing the job from command line.
hi sam here
samsuf2002
Premium Member
Premium Member
Posts: 397
Joined: Wed Apr 12, 2006 2:28 pm
Location: Tennesse

Post by samsuf2002 »

I would suggest you to try releasing the job from DS administrator if you are not able to do it from DS director. Go to DS Administrator, select the project, click on command button, give command LIST.READU ALL, look for the user and inode for that particular locked process, give command UNLOCK USER <user number> ALL , or UNLOCK <inode number> ALL.

Killing the job from command line is the option in worst case and you should make sure the process you are killing can effect other process or not. The way to kill from unix is kill -9 <processid>
hi sam here
dinakaran_s
Participant
Posts: 22
Joined: Wed Jul 02, 2008 7:01 am
Location: London

Please try to compile the job

Post by dinakaran_s »

There is a possibility, server crash while the job still is running. If this happens then, job will be shown running in the director.

Please try to compile the jobs otherwise restart the DataStage service and try compile the job.
crouse
Charter Member
Charter Member
Posts: 204
Joined: Sun Oct 05, 2003 12:59 pm
Contact:

Post by crouse »

This works in 7.x, should work in 8.x...

Have you tried this specifically in Director?
Highlight the job, click Job -> Clear Status File - Yes

Should remove the running status. Should only be used as your last option.
Craig Rouse
Griffin Resouces, Inc
www.griffinresources.com
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Re: Job in state running

Post by chulett »

RAI ROUSES wrote:Did the clear status of the job, in the log it appears the message that is done the clear to the RT FILE, but the job continues in the state "running".
Odd, another 8.x quirk it seems.
-craig

"You can never have too many knives" -- Logan Nine Fingers
crouse
Charter Member
Charter Member
Posts: 204
Joined: Sun Oct 05, 2003 12:59 pm
Contact:

Post by crouse »

I couldn't quite determine if the poster indicates the LOG is cleared (since RT_LOG is mentioned) or the STATUS cleared. I was assuming the log was cleared and that CLEAR STATUS FILE hadn't been done (yet).
Craig Rouse
Griffin Resouces, Inc
www.griffinresources.com
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

True, it is a little ambiguous, but I was going by the "Did the clear status of the job" part. Guess we need to wait and see.
-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 »

Did you refresh the Director's view after clearing the status file?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
kandyshandy
Participant
Posts: 597
Joined: Fri Apr 29, 2005 6:19 am
Location: Singapore

Post by kandyshandy »

If this is not a big deal, restart services (nodeagent/DS/Websphere).
Kandy
_________________
Try and Try again…You will succeed atlast!!
RAI ROUSES
Participant
Posts: 176
Joined: Wed Nov 15, 2006 5:48 am

Post by RAI ROUSES »

We restart the services of DataStage, the Job remained with the state "running", we have done the "Clear Status File" and compile the Job. We run Have you made the run of Job, which last 10 minutes ended with success: D

But today we have the same situation, another Job with running status, but dont do nothinng , the same situation, when we restart the services of DataStage, it also released this Job.

Some idea what caused this problem ?
Post Reply