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.  Reading input files in Java class and converting them using WTX

    Posted 05/17/12 08:42 AM

    Originally posted by: SystemAdmin


    Hi All,

    I need to know if I can read input file using Java class and make the necessary adjustment in the Java class
    e.g using a for loop
    and then map the data in output file

    Also the input file for the Java class will be changing.
    Is it feasible?? Considering I would be putting the Java class as well in the Deployment Environment along with the classpath.

    If it is possible, can you tell me how to go about it and where to find the docs for the same.

    Thanks and Regards,
    Abhi.
    #DataExchange
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender


  • 2.  Re: Reading input files in Java class and converting them using WTX

    Posted 05/17/12 01:47 PM

    Originally posted by: thorstenhirsch


    Well, you can call WTX from Java as well as the other way round. But you don't need Java to do what a for loop does. Use CLONE().
    #IBM-Websphere-Transformation-Extender
    #DataExchange
    #IBMSterlingTransformationExtender


  • 3.  Re: Reading input files in Java class and converting them using WTX

    Posted 05/18/12 12:24 AM

    Originally posted by: SystemAdmin


    Hello,

    I know about clone function, thank you. I just gave an example. My requirement is basically reading the file in Java and converting using WTX.
    I just want to know if its possible and if it is possible how to go about it.

    Thanks and Regards,
    Abhi
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender
    #DataExchange


  • 4.  Re: Reading input files in Java class and converting them using WTX

    Posted 05/19/12 05:04 AM

    Originally posted by: thorstenhirsch


    Search the docs for "Java API". It's a jar file that offers you access to the WTX engine via Map and Card objects. The interface is very different to the command server.
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender
    #DataExchange


  • 5.  Re: Reading input files in Java class and converting them using WTX

    Posted 05/22/12 05:42 AM

    Originally posted by: SystemAdmin


    Thank u...been goin through the same.....
    #DataExchange
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender