lookup stage problem
Posted: Thu Mar 18, 2010 11:37 am
Hi
I have a job like this.
Source1: Sequential File contains two columns ( A, B )
Source2: DB2 Table contains 4 columns ( A1,B1,C1,D1 )
Lookup: Source.A = Source1.A1
( Condition Not Met: Continue
Lookup Failure: Reject )
Source1: Integer type data 67219
Source2: Char type data contains Numbers ( 000000001 )
Target is Sequential File.
My goal is if Source1.A = Source2.A1 then take the output as Source1.B
But i am getting only first value from Source1.B
My job is working fine.
Please explain me what is my mistake in Lookup
Thanks
SReddy
I have a job like this.
Source1: Sequential File contains two columns ( A, B )
Source2: DB2 Table contains 4 columns ( A1,B1,C1,D1 )
Lookup: Source.A = Source1.A1
( Condition Not Met: Continue
Lookup Failure: Reject )
Source1: Integer type data 67219
Source2: Char type data contains Numbers ( 000000001 )
Target is Sequential File.
My goal is if Source1.A = Source2.A1 then take the output as Source1.B
But i am getting only first value from Source1.B
My job is working fine.
Please explain me what is my mistake in Lookup
Thanks
SReddy