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.  Retrieve runtime information in maps

    Posted 04/16/16 02:14 AM

    Originally posted by: Ole Haavard Haug-Larsen


    Hi.

    We are running WTX command server, and the jobs are started by a job schedular (CA Workload). A jobid is generated by the schedular when job start. We want to use this jobid as a value in our mapping.

     

    Is it possible to pass this runtime-generated value to the mapping? I.e. as a parameter in the command line to be picked up by the mapping??

     

    Any suggestions??


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


  • 2.  Re: Retrieve runtime information in maps

    Posted 04/16/16 03:30 PM

    Originally posted by: RichMcFate


    Assuming that your jobid has already been assigned at the point where you call the command server, you could create an extra input card in your map and pass the jobid in using the Echo adapter.

    For example, let's say input card 3 is a text item that is to contain your jobid and that your scheduler has exported your jobid to a variable called JOBID, your command line might include the following:

     

    -IE3 '$JOBID'

    There's more here:

    http://www.ibm.com/support/knowledgecenter/SSVSD8_9.0.0/com.ibm.websphere.dtx.execcmd.doc/references/r_execution_commands_Input_Source_Override_Echo_IE.htm

     

    Rich McFate


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


  • 3.  Re: Retrieve runtime information in maps

    Posted 04/17/16 04:35 PM

    Originally posted by: Ole Haavard Haug-Larsen


    Thanks for the help! This solved my problem! :-)


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