![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
Date in Lookup Stage
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Premium Member
- Posts: 497
- Joined: Sun Dec 17, 2006 11:52 pm
- Location: Kolkata
- Contact:
I have incorporated the date field also on which the look up was done in the output file , but that is not getting populated , that is the date field and the id fields are blank in the output field. So it proves that look up is basically failing.ray.wurlod wrote:What happened when you tried that? What value was in the date column that you used for a key, and subsequently was sent to the reject link?I wrote:Add a reject link to the Lookup stage so that you can see exactly what values were sought.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Premium Member
- Posts: 497
- Joined: Sun Dec 17, 2006 11:52 pm
- Location: Kolkata
- Contact:
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
.. and do the dates (that you use as keys in the Lookup stage) look like the expected dates?
Now you need to check the dates in the reference Data Set, and verify the values of these.
Diagnosis is a painstaking, step by step process. You must proceed systematically, eliminating one possibility at a time.
Now you need to check the dates in the reference Data Set, and verify the values of these.
Diagnosis is a painstaking, step by step process. You must proceed systematically, eliminating one possibility at a time.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Premium Member
- Posts: 497
- Joined: Sun Dec 17, 2006 11:52 pm
- Location: Kolkata
- Contact:
Not all the dates are matching but there are some natching dates and for those the data should be there in the output file eliminating the non matching data.ray.wurlod wrote:.. and do the dates (that you use as keys in the Lookup stage) look like the expected dates?
Now you need to check the dates in the reference Data Set, and verify the values of these.
Diagnosis is a painstaking, step by step process. You must proceed systematically, eliminating one possibility at a time.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Should be, would be, could be...
Show us (a) what the dates look like and (b) the data types (not just VarChar, the precision also). Show us the record schema from the stream input link and the reference input link to the Lookup stage. Tell us which columns are identified as Key. Otherwise we're guessing, and wasting everyone's time.
Show us (a) what the dates look like and (b) the data types (not just VarChar, the precision also). Show us the record schema from the stream input link and the reference input link to the Lookup stage. Tell us which columns are identified as Key. Otherwise we're guessing, and wasting everyone's time.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Premium Member
- Posts: 497
- Joined: Sun Dec 17, 2006 11:52 pm
- Location: Kolkata
- Contact:
may be the reference file was corrupted , i have changed the reference file , now the job is running file but the output file is getting populated with even those dates that do not have the matching data with the id field having empty values.ray.wurlod wrote:Should be, would be, could be...
Show us (a) what the dates look like and (b) the data types (not just VarChar, the precision also). Show us the record schema from the stream input link and the reference input link to the Lookup stage. Tell us which columns are identified as Key. Otherwise we're guessing, and wasting everyone's time.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Premium Member
- Posts: 497
- Joined: Sun Dec 17, 2006 11:52 pm
- Location: Kolkata
- Contact:
-
- Premium Member
- Posts: 497
- Joined: Sun Dec 17, 2006 11:52 pm
- Location: Kolkata
- Contact:
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: