Originally posted by: john.gibby
If grp2 or grp3 do not have data, the functional map will not be executed. You will need to do one of two things I have found works.
1. Create a three secondary functional maps for when grp2 or grp3 are not present.
=EITHER( IF( PRESENT(grp2) & PRESENT(grp3), F_FunctionalMap(grp1,grp2,grp3) ), IF( NOT(PRESENT(grp2)) & NOT(PRESENT(grp3)), F_FunctionalMap_Only_grp1(grp1) ), IF( NOT(PRESENT(grp2)), F_FunctionalMap_No_grp2(grp1,grp3) ), F_FunctionalMap_No_grp3(grp1,grp2) )
2. Create dummy grp2 & grp3 output cards for use when actual grp2 and/or grp3 are not present. In which case, you'll have to build logic into your functional map that will be able to detect the dummy groups.
=F_FunctionalMap( grp1, EITHER(grp2,dummy_grp2), EITHER(grp3,dummy_grp3) )
Good Luck!
#DataExchange#IBM-Websphere-Transformation-Extender#IBMSterlingTransformationExtender