Reject link in a shared container

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
splayer
Charter Member
Charter Member
Posts: 502
Joined: Mon Apr 12, 2004 5:01 pm

Reject link in a shared container

Post by splayer »

I have a shared container where I have a lookup fileset that does lookup using a lookup stage. In the job that uses the shared container, I would like to capture the rejected rows in a dataset/sequential file. Should I put the reject link in the shared container by setting "Condition Not Met" and "Lookup Failure" to Reject or should I put it in the job that is calling it? That is, add a reject link to the shared container stage.
Rubu
Premium Member
Premium Member
Posts: 82
Joined: Sun Feb 27, 2005 9:09 pm
Location: Bangalore

Post by Rubu »

Hi splayer,

1.Using Reject Link Inside Container:

First you exactly need to know what you are looking for.
If you are looking for both 'Condition Not Met' and 'Reject fail' records to go in the reject stream, use both condition and Lookup failure constraints as 'Reject'.

Otherwise if the intention is to only collect Lookup failed rows, use the constraints are 'Drop' and 'Rejects'.

2.You cannot use a define a Reject Link to a container without defining inside it.
Regards
Palas
Post Reply