How to stop a job when the process is not listed ?

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
kaps
Participant
Posts: 452
Joined: Tue May 10, 2005 12:36 pm

How to stop a job when the process is not listed ?

Post by kaps »

How do I stop a job which shows as runnung in director but it's not showing in Unix or show Locks/Processes in Cleanup resources in DataStage.

I have tried sending STOP messages multiple times but it's not getting stopped. This is an instance of a multi-instance job that I am trying to stop.

Please advise...
attu
Participant
Posts: 225
Joined: Sat Oct 23, 2004 8:45 pm
Location: Texas

Post by attu »

do you see your job when you issue the command

Code: Select all


ps -ef|grep DSD

kaps
Participant
Posts: 452
Joined: Tue May 10, 2005 12:36 pm

Post by kaps »

No. I don't see even when I do ps -ef|grep DSD or ps -ef|grep part of a job name. I see different instance of a job but not the instance I am looking for...

It's not showing in DS.TOOLS also...
attu
Participant
Posts: 225
Joined: Sat Oct 23, 2004 8:45 pm
Location: Texas

Post by attu »

how about if you logto your project from TCL and issue

Code: Select all

PORT.STATUS
Did you tried clearing your status file?
kaps
Participant
Posts: 452
Joined: Tue May 10, 2005 12:36 pm

Post by kaps »

Nope.It does not show.

can you tell me How I can clear the status file ?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

It's a Director option under the Job menu.
-craig

"You can never have too many knives" -- Logan Nine Fingers
kaps
Participant
Posts: 452
Joined: Tue May 10, 2005 12:36 pm

Post by kaps »

I think Clear Status file did the trick...It came back to runnable state.

thanks Guys...
Post Reply