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.  Using TIOS for generating a trace file (mtr) on error

    Posted 04/30/09 02:35 AM

    Originally posted by: SystemAdmin


    Hi
    I want to have a map trace file(mtr) in case there any error and the map fails.
    I'm using the following code to generate the mtr:

    RUN(TRIMRIGHT(TFRM_ID Field:DSTX_INPT_PARM_AREA Version1_Group Group:Input," "), ECHOIN(1,TEXT(DSTXErrComm)) + HANDLEIN(2,TEXT(PayloadMsg Filler:Input))+ " -TIOS=.\" +TRIMRIGHT(WORD(TFRM_ID Field:DSTX_INPT_PARM_AREA Version1_Group Group:Input,".",1)) "_" TEXT(CURRENTDATETIME ("{CCYYMMDDHHMMSS}"))+ ".mtr" + " -AE" )
    On executing this code locally on my machine, I'm able to get a trace file, but the same is unsuccessful on the server.

    Could anyone please let me know if anything is mistaken in this code or if I need to add anything to make this code work on the server?

    Thanks in advance!

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


  • 2.  Re: Using TIOS for generating a trace file (mtr) on error

    Posted 04/30/09 03:20 AM

    Originally posted by: Kepa_Screen


    Are you running on what machine ?
    Windows server or Aix/Linux/Unix ?

    In case you are using a Unix based box, check that "\" at the path of the output file ( for -TIOS command). Also i would insert single quotes at the first and last positions for the path ( -TIOS=*'*/home/app/data/out/trace/'+mapname+'_'+date+'.mtr*'* )

    Be sure also to have correct permissions for the user used to install WSTX in order to write to that output path.
    #DataExchange
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender


  • 3.  Re: Using TIOS for generating a trace file (mtr) on error

    Posted 04/30/09 05:08 AM

    Originally posted by: SystemAdmin


    Thanks Kepa. Its working now.
    #IBMSterlingTransformationExtender
    #DataExchange
    #IBM-Websphere-Transformation-Extender