How to stop a datastage job

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
yiminghu
Participant
Posts: 91
Joined: Fri Nov 14, 2003 10:09 am

How to stop a datastage job

Post by yiminghu »

Hi,

One of my job was running endlessly. I tried to stop the job using stop command in diretor, unfortunately it did not stop. So I log to Unix box, trying to kill that process. But in director, it still indicated the job is running even though in Unix, I could not find this process.

Is restarting Datastage service my only choice, or there is another way to stop the job?

Thanks,

Yiming
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

Please search this forum. Kill should be your last resort. You must know the necessary components to cleanup a job should you do what you did. Search the forum for "cleanup resources" and "clear status file". Please fully understand how DataStage jobs work with the Director clients and how they feed their statuses back to the underlying tables.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
ogmios
Participant
Posts: 659
Joined: Tue Mar 11, 2003 3:40 pm

Re: How to stop a datastage job

Post by ogmios »

For the quick answer: the status in DataStage is just a snapshot. If the process is killed it's no longer updated, if you do a clear status you will be ready to run it again.

Ogmios
Post Reply