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.  Launcher error - Failed at Run function

    Posted 08/28/19 08:09 AM

    Originally posted by: DenisBE


    Hello,

    I have a WTX development that includes a main map that executes another map via RUN functions.
    Like this: "IFWSend" (main map) who calls (via RUN function) the map "CreateBufferData" who calls (via RUN function) the map "AddSendHeaderCarenet" and who call (via RUN function) the map "Store".

    When I'm running via WTX, no problem.

    But, when I deploy on the launcher (via Integration Flow Designer), and that I execute I have some errors. (see Printscreen - Management Console).

    From the documentation here is the meaning of the errors.

    I don't understand.

    Can you help me?

    73
    Resource manager failure

    The resource manager could not reserve the resources (sources/targets) due to a resource contention that is most likely a run map.

    (Applicable to run maps and theLauncher)

     

    76
    Adapter failed to put data on output

    During the commit/rollback phase, the target had a failure.

    Here is also the result of the Management Console trace :

    ******** IBM Transformation Extender Map Adapter Trace File (EXE-START) ********
    Wed Aug 28 13:07:53 2019
    Instance: 5  Map: C:\IBM\MAPmmc\IFW\MapIFWSend.mmc

    -------- IBM Transformation Extender Map Adapter Trace File (RUN-START) --------
    Wed Aug 28 13:07:56 2019
    Instance: 5  Map: C:\IBM\MAPmmc\IFW\MapCreateBufferData.mmc


    -------- IBM Transformation Extender Map Adapter Trace File (RUN-END)--------
    Wed Aug 28 13:07:57 2019
    Instance: 5  Map: C:\IBM\MAPmmc\IFW\MapCreateBufferData.mmc


    ******** IBM Transformation Extender Map Adapter Trace File (EXE-END)********
    Wed Aug 28 13:07:57 2019
    Instance: 5  Map: C:\IBM\MAPmmc\IFW\MapIFWSend.mmc

     

    Regard's

    IBM Transformation Extender Design Studio Version : 10.0.0.0

    IBM Transformation Extender Integration Flow designer Version : 10.0.0.0
    IBM Transformation Extender 10.0.0 Launcher

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


  • 2.  Re: Launcher error - Failed at Run function

    Posted 08/29/19 10:33 AM

    Originally posted by: GertieKearney


    Hello,

    The maps would be multi-threaded when using the Launcher. In multi-threading issues, a great deal of the problems are caused by not creating unique names for the work files, audit or trace files or output files.
    The same rules apply to RUN Maps as executable top level Maps.

     

    The following link is to ITX documentation regarding multi-threading

    https://www.ibm.com/support/knowledgecenter/en/SSVSD8_9.0.0/com.ibm.websphere.dtx.md.doc/references/r_md_running_in_a_multi_threaded_env.htm

     

    Gertie.

     

     


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


  • 3.  Re: Launcher error - Failed at Run function

    Posted 08/30/19 09:23 AM

    Originally posted by: DenisBE


    Hello,

    Thank you for the answer.

    Regarding the different possibilities of the problems :

     * not creating unique names for the work files --> I checked and no work files has the same name;

    * audit or trace files  --> I don't use audit and trace files;

    *  output files --> all the output files are in with a Sink adapter.

     

    In conclusion, I do not see where is the problem...

    Regard's

    Denis


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


  • 4.  Re: Launcher error - Failed at Run function

    Posted 08/30/19 09:56 AM

    Originally posted by: PaulBrett


    Perhaps your top level map is calling the RUN() function with an -IFx override, and you are asking the sub map to re-read the input file.  I would get you to convert the override to an ECHO or HANDLE override with ECHOIN() or HANDLEIN() respectively.

    Without further information (an example testcase that shows the issue) it would be difficult to be sure of any other possibilities.

    Thank you.

    Paul

    Follow me on Twitter


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


  • 5.  Re: Launcher error - Failed at Run function

    Posted 09/01/19 03:45 AM
      |   view attached

    Originally posted by: DenisBE


    Hello,

    Here is an example of a RUN function () used:

    (see Printscreen - MapCreateBufferData.png)

    Regarding "InputIFWBufferDataAttribute", it's just just passing data from one map to another (two fields).

    Regarding "OutputIFWBufferDataXML" is the transformation of a flat file to XML..

    =RUN( "C:\IBM\MAPmmc\IFW\MapAddHeaderCarenet.mmc", HANDLEIN(1,PACKAGE(InputIFWBufferDataAttribute))+"-OF1"+HANDLEIN(2,PACKAGE(OutputIFWBufferDataXML))+"-OF2" )

    Regard's

    Denis


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


  • 6.  Re: Launcher error - Failed at Run function

    Posted 09/02/19 08:14 AM

    Originally posted by: PaulBrett


    Try this:

    =RUN("C:\IBM\MAPmmc\IFW\MapAddHeaderCarenet.mmc",HANDLEIN(1,PACKAGE(InputIFWBufferDataAttribute))+" "+HANDLEIN(2,PACKAGE(OutputIFWBufferDataXML)))

    The -OF parts are redundant.

    Thank you.

    Paul

    Follow me on Twitter


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


  • 7.  Re: Launcher error - Failed at Run function

    Posted 09/03/19 08:04 AM

    Originally posted by: DenisBE


    Hello,

    After removing the "-OF" parameter it works on the launcher.

    Thank you Paul.

    Regard's

    Denis


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