Invalid/Error Data 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
rohit_mca2003
Participant
Posts: 41
Joined: Wed Oct 08, 2008 9:19 am

Invalid/Error Data handling

Post by rohit_mca2003 »

Hi,

I have a record which is having nearly 15 fields/columns. We have to do some data values/format/nullability checks on some 10 fields. We decided to do these checks in Transformer stage. Till here no problem.

But we have to insert records in ERRORLOG table for each field validatin failure. Suppose 3 field validation failed then 3 records in ERRORLOG and if 8 fields validation failed then 8 records in ERRORLOG table.

Please suggest me solution/design of this job and performance should not be compromised.

Regards,
Rohit
Rohit
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

One output link per error, then funnel the errors together to one stream for the error log. This is a common approach. We have one job at this site with many columns and each column can have multiple errors, so with one input link to a transform stage we have at least 50 output links and this job has the nickname of the "Broom Job" since the links sort of look like one.
Post Reply