IBM Sterling Transformation Extender

Sterling Transformation Extender

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


#Sterling
#Supplychain
 View Only
Expand all | Collapse all

Inserting MathLib Function Psuedo Random Numbers in WTX

  • 1.  Inserting MathLib Function Psuedo Random Numbers in WTX

    Posted 05/09/07 03:24 AM

    Originally posted by: SystemAdmin



    Can any body help me with the syntax or how to use the MathLib Random function(RAND()) in the Map rules.

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


  • 2.  Re: Inserting MathLib Function Psuedo Random Numbers in WTX

    Posted 05/09/07 04:12 AM

    Originally posted by: janhess


    ="RAND = " + NUMBERTOTEXT( (mathlib->RAND( ) ))

    However there were bugs with a few functions in mathlib at the base release. I think they were corrected in the first service pack.

    I had a problem with this one also

    ="POWER = " + NUMBERTOTEXT(mathlib->POWER(10,5 ))
    #IBMSterlingTransformationExtender
    #DataExchange
    #IBM-Websphere-Transformation-Extender