How to combine all error messeges into one errortabl

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
vilasini
Participant
Posts: 32
Joined: Sun Dec 09, 2007 11:48 pm

How to combine all error messeges into one errortabl

Post by vilasini »

Hi,

I have 5 to 6 lookups in a job and if the lookup fails indiviually it has to update the error table for each failure lookup.Is there any other way to update the error table instead of updating evey after lookup.
Help me on this.

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

Post by ArndW »

No, it makes sense to do it after each lookup.
vilasini
Participant
Posts: 32
Joined: Sun Dec 09, 2007 11:48 pm

But,can not load the table after every lookup rt,so how

Post by vilasini »

But,can not load the table after every lookup rt,so how to use one transformer and load to one table.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

I normally use a shared container to receive the error code, decode it, add the job id, run time, user, etc., and insert into the error table. You can have as many references to this shared container in your job as needed.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
vilasini
Participant
Posts: 32
Joined: Sun Dec 09, 2007 11:48 pm

Post by vilasini »

Thanks for your response and we will try to use containers.
Post Reply