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.  Call functional map produced NONE as a result

    Posted 02/02/09 10:08 PM

    Originally posted by: SystemAdmin


    I am using WTX 8.2. I have a problem that my result file is empty.

    I create one main map and a functional map. the functional map takes 2 arguments, both are 2 different sub groups of the same partitioned group.

    On the main map, i call the functional map, each call would return a blob field. so in overall, the final result would contains many lines of blob field.

    The strange thing is when i look at my result file, it's empty.

    after some diagnosis, i found out that if i remove one argument, either the first or second argument, from the functional map and call the functional map with just one parameter, then the result would be produced as i expect.

    Your advice is appreciated, and thanks in advance.
    I receive this log in the main map trace file, there is log produced for the functional map.
    ===================================================================

    09:45:17.656 Feb 03 2009
    (Offset 0: Map Number 0 (Main), DI 00000000:)
    Building TYPE X'10D3' (blobgroup Root).

    09:45:17.656 Feb 03 2009
    (Offset 0: Map Number 0 (Main), DI 00000000:)
    Building TYPE X'10D4' (blob Root).

    09:45:17.656 Feb 03 2009
    (Offset 0: Map Number 0 (Main), DI 00000000:)
    The rule for TYPE X'10D4' (blob Root) evaluated to NONE.

    09:45:17.656 Feb 03 2009
    (Offset 0: Map Number 0 (Main), DI 00000000:)
    TYPE X'10D3' (blobgroup Root) has been built.

    OUTPUT 3 was built successfully.
    #IBMSterlingTransformationExtender
    #DataExchange
    #IBM-Websphere-Transformation-Extender


  • 2.  Re: Call functional map produced NONE as a result

    Posted 02/02/09 10:16 PM

    Originally posted by: SystemAdmin


    Sorry typing error, what i wanted to say is, there is no log produced for the functional map.
    I receive this log in the main map trace file, there is log produced for the functional map.
    ===================================================================
    #IBMSterlingTransformationExtender
    #DataExchange
    #IBM-Websphere-Transformation-Extender


  • 3.  Re: Call functional map produced NONE as a result

    Posted 02/03/09 03:12 AM

    Originally posted by: LaurentB


    Good morning,

    this looks quite normal. When you pass two different sub-types of the same partitioned group, then all but one are NONE : only one can exist at one given moment, since they are mutually exclusive. Since a functional map is not called when at least one argument evaluates to NONE, yours is never called.

    If you need to call the fmap as many times as there are occurences of the partitioned group, then you should pass it to the fmap, and have the fmap decide which subtype exists and is to be mapped.

    Hope it helps
    Laurent
    #DataExchange
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender


  • 4.  Re: Call functional map produced NONE as a result

    Posted 02/03/09 03:40 AM