IBM Sterling Transformation Extender

Sterling Transformation Extender

Come for answers, stay for best practices. All we're missing is you.


#Sterling
#Supplychain
 View Only
  • 1.  Map logic is not working in 8.0

    Posted 02/16/06 01:39 PM

    Originally posted by: SystemAdmin


    Hi All,

    While we are upgrading the maps from 6.5.2 to 8.0 in real time the following logic is not working.

    =IF(PRESENT(D10_DTP Record:In1),
    f_2100D_DTP_Error(D10_DTP Record:In1),
    IF(PRESENT(C10_DTP Record:In1),
    f_2100C_DTP_Error(C10_DTP Record:In1),
    NONE))

    M113 ERROR:
    Map: f_2000D_Dependent_Error Output: Dependent DTP Choice_Group:Dependent NM1:Out
    Argument #3 for function IF is invalid.

    But is is working successfully in 6.5.2

    Reported the same problem to IBM.

    Thanks.
    #DataExchange
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender


  • 2.  Re: Map logic is not working in 8.0

    Posted 02/16/06 01:56 PM

    Originally posted by: SystemAdmin


    That looks like it should work. Including NONE as the else condition has been optional for several versions. Perhaps it is no longer optional but implied if omitted???

    These two rules should be equivalent:

    =IF(PRESENT(D10_DTP Record:In1),
    f_2100D_DTP_Error(D10_DTP Record:In1),
    IF(PRESENT(C10_DTP Record:In1),
    f_2100C_DTP_Error(C10_DTP Record:In1)))

    =EITHER(f_2100D_DTP_Error(D10_DTP Record:In1),
    f_2100C_DTP_Error(C10_DTP Record:In1))
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender
    #DataExchange


  • 3.  Re: Map logic is not working in 8.0

    Posted 02/20/06 02:27 PM

    Originally posted by: SystemAdmin


    By the way, this issue has been resolved. The problem had to do with the type being returned by the functional map not matching that of the type where the function was invoked.

    Many choice group issues were resolved post 6.5.2 so that is likely why it "worked" in 6.5.2 but not in 8.0. 8.0 is working "more" correctly.
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender
    #DataExchange