Stopped job runs in background

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
JKenklies
Premium Member
Premium Member
Posts: 30
Joined: Mon Mar 05, 2007 3:02 am
Location: Hamburg, Germany

Stopped job runs in background

Post by JKenklies »

Hi folks,

I have made an error last week. I've made a lookup on a DRS stage and tried to use a user defined SQL. That resulted in getting the whole lookup table for each input row, so I got the Error

Code: Select all

Reference lookup generated <n> rows. Only the last row was used.

In this case, n was quite huge, the whole table (about 4,5 Million rows) has been fetched for each input row (again some millions).

Well, I noticed that error and reversed my changes. I stopped the job, recompiled it and ran it without getting that error again. Today i reviewed the job in cause of other changes and noticed that in the job log, I'm still getting that Error with the huge number of generated rows. Our DB2 Admin sais, the impact is not critical, but I think thats only because the buffer pool sings the same song again and again...

I think this is a kind of phantom job. I'm not able to stop it, because the stop-button is disabled.

Q:
How do i stop this SQL-Fireing process? Will I have to restart the ETL-Machine? Is there a smarter way to get rid of this?

Thanks in advance.
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

Make sure there isn't an active thread still running, like a zombie. Of course, rebooting the server is like a Microsoft solution but it just may be the easiest.
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
JKenklies
Premium Member
Premium Member
Posts: 30
Joined: Mon Mar 05, 2007 3:02 am
Location: Hamburg, Germany

Post by JKenklies »

I solved the problem. I've used sysinternals process explorer to be sure which process I had to kill. It shows the command line that has been used to start the process, so I could see the job's name.
Post Reply