Stages doubts
Posted: Wed Mar 08, 2006 5:54 pm
Hi,
Please help me . I have a requirement like this I have to look to a table DB2 for xxx,yyy,zzz columms with input source file and if it matched then I need to filter by condition (validfromdate from inputfile =or <> validfromdate in db2 table)and I must write records to db2 table. And I need to write the records from the source file to the table if there are no matching xxx,yyy,zzz colummsin db2 table (failed lookup records to DB2 table). can I use a reject link connected to lookup so that I can catch the records that failed the lookup condition and Iam writing records to a transformer which satisfied the lookup condition and Iam giving a constraint in transformer as lkup_validfromdate=lkup_DatB(validfromdate) to filter records that match the lookup condition.
CAN I CATCH THE REJECTED RECORDS IN LOOKUP(THAT DOESNOT SATISFY LOOKUP CONDITION) IF NOT THEN HOW TO ACHIEVE.
Thanks,
Somaraju.
Please help me . I have a requirement like this I have to look to a table DB2 for xxx,yyy,zzz columms with input source file and if it matched then I need to filter by condition (validfromdate from inputfile =or <> validfromdate in db2 table)and I must write records to db2 table. And I need to write the records from the source file to the table if there are no matching xxx,yyy,zzz colummsin db2 table (failed lookup records to DB2 table). can I use a reject link connected to lookup so that I can catch the records that failed the lookup condition and Iam writing records to a transformer which satisfied the lookup condition and Iam giving a constraint in transformer as lkup_validfromdate=lkup_DatB(validfromdate) to filter records that match the lookup condition.
CAN I CATCH THE REJECTED RECORDS IN LOOKUP(THAT DOESNOT SATISFY LOOKUP CONDITION) IF NOT THEN HOW TO ACHIEVE.
Thanks,
Somaraju.