Hi
I have a job which upserts the data into the table through odbc stage. Due to some issue with the link, there are some fatal error thrown in the log and all the records didnt get inserted properly. Ideally the job should have been aborted, but it shows the status as Finished. Is there any method to abort the job , if it has any fatal conditions?
job not aborting even if there is a fatal error
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 9
- Joined: Fri Apr 13, 2007 1:05 am
- Location: Mumbai
-
- Premium Member
- Posts: 99
- Joined: Mon Sep 03, 2007 7:49 am
- Location: Stockholm, Sweden
I have seen this can happen for example when using datastage and certain patched versions of DB2 on AIX. It occurs whenever you are using upsert in and there are no hits on the update-statement or when sending "empty" deletes to the database. The database(db2) throws a SQLW (Warning) to datastage and datastage logs this as a fatal error (using db2 enterprise stage) however not failing the job or (using the db2 api stage) as warnings (filling up the log).
There are patches for this or enviroment varibles to be used (talk to you local IBM support) or you can actually figure out why you're getting these warnings. Try to eliminate "empty" deletes and handle those records that cant be used for update.
There are patches for this or enviroment varibles to be used (talk to you local IBM support) or you can actually figure out why you're getting these warnings. Try to eliminate "empty" deletes and handle those records that cant be used for update.
-------------------------------------
http://it.toolbox.com/blogs/bi-aj
my blog on delivering business intelligence using agile principles
http://it.toolbox.com/blogs/bi-aj
my blog on delivering business intelligence using agile principles
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Stop thinking like a server job developer.
Parallel jobs CAN finish even though one of the components has logged a fatal error. That is because the Conductor process, which almost never has a fatal error itself, finishes normally.
Parallel jobs CAN finish even though one of the components has logged a fatal error. That is because the Conductor process, which almost never has a fatal error itself, finishes normally.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.