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
kjaouhari
Participant
Posts: 325 Joined: Thu Mar 16, 2006 10:22 am
Post
by kjaouhari » Tue Nov 21, 2006 2:43 pm
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
Posts: 43085 Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO
Post
by chulett » Tue Nov 21, 2006 2:50 pm
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
Posts: 195 Joined: Thu Oct 19, 2006 2:45 pm
Post
by dsscholar » Tue Nov 21, 2006 2:54 pm
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
Posts: 503 Joined: Wed Jun 29, 2005 8:14 am
Post
by DeepakCorning » Tue Nov 21, 2006 3:10 pm
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 » Tue Nov 21, 2006 3:12 pm
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 » Tue Nov 21, 2006 3:52 pm
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
Posts: 43085 Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO
Post
by chulett » Tue Nov 21, 2006 3:55 pm
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 » Wed Nov 22, 2006 3:00 am
No in fact I have started the job with limit of 10 rows ...
chulett
Charter Member
Posts: 43085 Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO
Post
by chulett » Wed Nov 22, 2006 8:30 am
Well then, just how many warnings did these 10 rows produce?
More of an informational post than anything else.
-craig
"You can never have too many knives" -- Logan Nine Fingers