IBM Sterling Transformation Extender

Sterling Transformation Extender

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


#Sterling
 View Only
  • 1.  time in milliseconds

    Posted Tue April 04, 2017 09:10 AM

    Originally posted by: SoftwareDeveloper.india


    Hi ,

    I got requirement to populate time in milliseconds with 6 digits through currentdatetime function. Function used is Fromdatetime(currentdatetime("{ccyymmdd:hh24.mm.ss.6-6}")

    When I am using that function ,I am getting 3 digits only and filling other digits with zero's. Output is "20170908:12.34.23.321000" but I need value as "20170908:12.34.23.123321"

    Do wtx has any limitations here populating only 3 of the required 6 digits

    Any solution helps a lot.

    thanks.

    Srujan.


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


  • 2.  Re: time in milliseconds

    Posted Wed April 05, 2017 08:19 AM

    Originally posted by: PaulBrettIBM


    This appears to be a limitation of the product with the CURRENTDATETIME() and CURRENTTIME() functions.  3 digits precision only.

    Perhaps you would like to raise an enhancement request on the Commerce RFE Community site?

    Thank you.

    Paul.

    Follow me on Twitter


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


  • 3.  Re: time in milliseconds

    Posted Fri October 13, 2017 12:05 PM

    Originally posted by: mladd


    It has been a while since I tested this, but I believe Windows only uses 3 fractional seconds. If I recall, The map can only use what the executing system allows. If you were to run that function on a UNIX box, I believe you would see the 6 fractional seconds places. Just not on Windows.

     

    -Mike


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