warnings continue after stopped 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
kjaouhari
Participant
Posts: 325
Joined: Thu Mar 16, 2006 10:22 am

warnings continue after stopped job

Post by kjaouhari »

Hello all ,

I run a simple job with 2 stage oracle, I have an error when executing the job the error message is : constraint violation of primary_key.

Then I stop the job in director, the job is stopped and I reset it , but warnings continue to log. I think the sql query continue to run may be ...

Do you have similar problem ?

thank
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Could be... stopping the job doesn't always kill the Oracle query - that can take a DBA sometimes. Or you may just have a ton of messages queued up and it is still playing 'catch-up' actually writing them out.
-craig

"You can never have too many knives" -- Logan Nine Fingers
dsscholar
Premium Member
Premium Member
Posts: 195
Joined: Thu Oct 19, 2006 2:45 pm

Post by dsscholar »

Did you check Director to see whether the PID for this particular job is still available or not. If you find it, ask your DBA to kill the query, that should solve your problem.
DeepakCorning
Premium Member
Premium Member
Posts: 503
Joined: Wed Jun 29, 2005 8:14 am

Post by DeepakCorning »

The job may have stopped but the job will keep on showing the warnings til the end (last warning).

If you do not want to continue then you will have to rename the job so that the PID changes. But I think the log will remain the DS folder as it may not delete it as it is still writing.
kjaouhari
Participant
Posts: 325
Joined: Thu Mar 16, 2006 10:22 am

Post by kjaouhari »

Yes I ask to my DBA to kill the session, but warnings continue I hope it was just warnigs queued ...
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

It IS warnings queued. You should test with ten rows, not ten crore!
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Also not an issue if you do not run with unlimited warnings... i.e. the limit set to 'No limit' = bad.
-craig

"You can never have too many knives" -- Logan Nine Fingers
kjaouhari
Participant
Posts: 325
Joined: Thu Mar 16, 2006 10:22 am

Post by kjaouhari »

No in fact I have started the job with limit of 10 rows ...
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Well then, just how many warnings did these 10 rows produce? :wink:

More of an informational post than anything else.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply