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.  Creating your own function questions...

    Posted 10/01/08 07:58 AM

    Originally posted by: SystemAdmin


    I am creating a function library and wanted to find out a couple of things.

    1) Does any memory allocated and returned in lpDataFromApp get free'd by the execution engine? I have worked with the core/platform api and when running a map the "ToApp" is free'd by the application seems like it would work the same way, just reversed.
    2) How is returning a NUMBER_PARAMETER any different than returning TEXT_PARAMETER?

    I am writing for 8.2 on win32.
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender
    #DataExchange


  • 2.  Re: Creating your own function questions...

    Posted 10/01/08 10:08 AM

    Originally posted by: SystemAdmin


    ) Does any memory allocated and returned in lpDataFromApp get free'd by the execution engine? I have worked with the core/platform api and when running a map the "ToApp" is free'd by the application seems like it would work the same way, just reversed.
    >> Yes, the memory is freed.

    2) How is returning a NUMBER_PARAMETER any different than returning TEXT_PARAMETER?
    >>Since, the data returned is a stream of bytes, Based on the Return type, the transformation engine, assigns internally what kind of object it has to treat as (i.e text, number, datatime)
    #DataExchange
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender


  • 3.  Re: Creating your own function questions...

    Posted 10/01/08 11:17 AM

    Originally posted by: SystemAdmin


    Thanks, that is what I thought, just wanted to confirm.
    #DataExchange
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender