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.  Iteration

    Posted 11/11/04 05:08 AM

    Originally posted by: SystemAdmin


    Hi,
    Is it somehow possible to the determine what iteration a functional map is currently in.
    I have a functional map that is executed X numer times and
    in the functional map I need to assign X to a field.
    Alternatively it could also just be a counter of some kind.
    How can I do that?

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


  • 2.  Re: Iteration

    Posted 11/11/04 05:16 AM

    Originally posted by: SystemAdmin


    Hi Alex
    you can create a field in your input tree not used in your record group
    then pass the index of the input item or the occurrence of the output
    series you are mapping to, down to the functional map.
    thanks
    #IBM-Websphere-Transformation-Extender
    #DataExchange
    #IBMSterlingTransformationExtender


  • 3.  Re: Iteration

    Posted 11/11/04 05:49 AM

    Originally posted by: SystemAdmin


    F_EachRecord(Record:File, INDEX($))

    INDEX($) becomes a single item numeric card in the functional map. You could wrap it as TEXT(INDEX($)) if you want the value to be passed in as character.
    #DataExchange
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender


  • 4.  Re: Iteration

    Posted 11/14/04 10:28 PM

    Originally posted by: SystemAdmin


    Yes.
    That was just what I was looking for.
    Thanks.

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