Job finishes but the status becomes aborted

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
rajeshknl
Participant
Posts: 22
Joined: Thu Jul 17, 2008 8:09 pm

Job finishes but the status becomes aborted

Post by rajeshknl »

Hi,

My parellel job runs successfully. It loads the expected 100 rows to the target. I have verified the target table. But the status of the job becomes 'Aborted' after the run. So i cant re-run the job.

I am using Netezza database as target. I am getting a weird error
"count of bad input rows reached maxerrors limit".

I dont understand what this is. I am sure my target table has the data i am expecting.[/b]
keshav0307
Premium Member
Premium Member
Posts: 783
Joined: Mon Jan 16, 2006 10:17 pm
Location: Sydney, Australia

Post by keshav0307 »

its not a weird error.
what is bad record or error limit, you have set.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

What warnings/errors are logged (a) by the DataStage job and (b) in the Netezza environment?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
rajeshknl
Participant
Posts: 22
Joined: Thu Jul 17, 2008 8:09 pm

Post by rajeshknl »

By weird i meant weird in this context. The maxerror count has the default value of 1.


If all the records are loaded in the target where is the scope for bad/error records.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

First line is column names not being properly handled? I recall one job where this was off, even though the first line was column names. The file was sorted as it went through DataStage, and caused the job to abort (from memory with an Invalid number error).
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
tkbharani
Premium Member
Premium Member
Posts: 71
Joined: Wed Dec 27, 2006 8:12 am
Location: Sydney

Post by tkbharani »

I have also faced this problem.
Check if the file count is matching the number of inserted records.

A.May be it, contains some header or footer.
B. Check if your job is no overwriting the error count setting.

Check if any after job soubroutine is being called in the job, which is making it to fail.
Thanks, BK
rajeshknl
Participant
Posts: 22
Joined: Thu Jul 17, 2008 8:09 pm

Post by rajeshknl »

I dont have any header/footer. Also i dont have any after/before job subroutines.
Post Reply