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.  WTX run () to invoke a map

    Posted 06/30/15 04:24 AM

    Originally posted by: Karthik12r


    Hi,

     

    I am trying to use RUN() from the main map to run a child map. I am facing issue in returning the output from child map to the main map. Let me know if the below rule is correct?

     

    =VALID( RUN ("INBOUND_V150.mmc", ECHOIN(1,PACKAGE(ARG 1))
    +" "+ECHOIN(2,PACKAGE(ARG2))+" -OE13 "),
     "The dynamic execution of the map was unsuccessful.  Error code " +
     LASTERRORCODE() + ": " + LASTERRORMSG() )


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


  • 2.  Re: WTX run () to invoke a map

    Posted 06/30/15 09:26 AM


  • 3.  Re: WTX run () to invoke a map

    Posted 07/01/15 04:32 AM

    Originally posted by: Ejay


    I'm not sure you want this but i would add the FAIL function to your rule like :

     

    =VALID( RUN ("INBOUND_V150.mmc", ECHOIN(1,PACKAGE(ARG 1))
    +" "+ECHOIN(2,PACKAGE(ARG2))+" -OE13 "),FAIL(
     "The dynamic execution of the map was unsuccessful.  Error code " +
     LASTERRORCODE() + ": " + LASTERRORMSG() ) )

     

    Hope that help .

     

    Emmanuel


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