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.  How to use TypeTree in function map?

    Posted 04/07/16 11:27 PM

    Originally posted by: johnxp


    Hi, I am getting below the error when using outside TypeTree in function map, please help.

    M116    ERROR:
        Map: F_Create_Rec   Card: Indx
        Type tree for this card is not used in an executable map.

     


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


  • 2.  Re: How to use TypeTree in function map?

    Posted 04/08/16 03:20 AM

    Originally posted by: paul.brett


    Every item passed to a function map must match the input cards of that functional map.  So for example:

    =F_EachRow(Row:In1,In2)

    ....the functional map will have 2 input cards, and the root object for each card will match exactly (Typetree name and reference) the objects that are passed in.

    The single output card of the functional map, must use an object that matches exactly (Typetree name and reference) the object from where the rule was called.

    So, for example, if my rule is placed in:

    Out1
    +----Row
    +---------CustomerID

    ...then the functional map should have a Typetree object such as CustomerID:Fields:Output.

    Best thing to do in your circumstance, is to rename your functional map (temporarily) and then re-create it with the Functional Map Wizard, which will get all of the Typetree objects right for you.  A quick visual comparison of the two functional maps should help you see what needs changing.

    I hope that helps.

    Thank-you.

    Paul

    Follow me on Twitter


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


  • 3.  Re: How to use TypeTree in function map?

    Posted 04/08/16 05:57 AM

    Originally posted by: johnxp


    Understand what you are saying.

    But I got this error because the TypeTree file I am using in child function map is not inherited from parent map.

    =F_EachRow(Row:In1,Index(Row:In1))

    I solved this issue by creating an extra field in the typetree file that is referred by parent map.

    I am wondering why I cannot use some other typetree file (not referred by parent map) for function map?


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


  • 4.  Re: How to use TypeTree in function map?

    Posted 04/08/16 08:14 AM

    Originally posted by: paul.brett


    I am wondering why I cannot use some other typetree file (not referred by parent map) for function map?

    ...because that is the way the product is designed to work.   Smile

    Thank-you.

    Paul

    Follow me on Twitter


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