Error handling

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
asaf_arbely
Premium Member
Premium Member
Posts: 87
Joined: Sat Jul 14, 2007 2:24 pm

Error handling

Post by asaf_arbely »

Hi
I want to design a job that inserts rows into DB2 by using a relational stage,
Whenever a row rejected from the database for any reason, I want to write it into a file that collects the rejected rows,
I use the offer reminded in the forum (linkname.REJECTEDCODE = DSE_TRXLINK) on the constraint for the link of the file,
but then only the first row is written into it, and then the program aborts.
I want to collect all the rejected records,
Is there any way for me to determine when the program aborts and when not?
Post Reply