To get reject record

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
ithirak_17
Participant
Posts: 17
Joined: Mon Sep 10, 2007 3:24 am

To get reject record

Post by ithirak_17 »

Hi all,

I need some clarification in assigning the value:

Input file :

Column1

BB
CC
CC
BB
CC


Lookup file:

Column1 column 2
BB 34
CC 23
CC 45
CC 12

So i need to assign the column 2 value for each records ,there is only one column 2 value for BB record in the lookup file,i need to assign the value for one record , so another record in input file needs to send as reject record.

How can i assign the value? and get the reject record.


Please help me to solve this.


Thanks in advance.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Use a Merge stage, which consumes each row used from the reference (update) input.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Pagadrai
Participant
Posts: 111
Joined: Fri Dec 31, 2004 1:16 am
Location: Chennai

Re: To get reject record

Post by Pagadrai »

ithirak_17 wrote: there is only one column 2 value for BB record in the lookup file,i need to assign the value for one record , so another record in input file needs to send as reject record.
.
Hi,
If I understand your post correctly, You problem is more related to rejection of duplicates, rather than with the lookup.

There are some posts here on rejection of duplicates. Let us know if you need more details.
Post Reply