IBM Sterling Transformation Extender

Sterling Transformation Extender

Come for answers, stay for best practices. All we're missing is you.

 View Only
Expand all | Collapse all

Junk File Name causes the launcher to hang state

  • 1.  Junk File Name causes the launcher to hang state

    Posted Thu April 21, 2011 05:35 PM

    Originally posted by: ken01


    Map creates a file NAME based on the Junk data sent by user; this file name causing the launcher to go in hang state, so that all other files won't get processed by the systme msl.

    Can any experts shed some light here..... if you need more info please let me know.
    #DataExchange
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender


  • 2.  Re: Junk File Name causes the launcher to hang state

    Posted Sun April 24, 2011 06:38 PM

    Originally posted by: IBM WTX


    Hi Ken,

    Can you elborate the problem little more, not clear when you say junk data, are you refering to bad data. More over why not to use your own naming convention rather than based on th junk data. May be some special characters causing problem when gving name. I am using my naming convntion with a time stamp value as soon as the files arrives in a launher. The below is the code it might help you

    =PUT("FILE",
    "S:\SADAD_LINK\BKUP\"+ FileName Field:FileInfo Record FileInfo:FileInfo File:FileInfo
    +"."DATETOTEXT(CURRENTDATETIME("{CCYYMMDD}{HH12MMSS3-3AM/PM}" ) )".BAK",
    PACKAGE( InFile ) )

    where Filename is comming from a configuration file you can modify and give your static name, than adding a time stamp and the content of the incomming file. For your ease if you are not using any configuration file the code will look like this

    =PUT("FILE",
    "S:\SADAD_LINK\BKUP\"BadRecords"."DATETOTEXT(CURRENTDATETIME("{CCYYMMDD}{HH12MMSS3-3AM/PM}" ) )".BAK",
    PACKAGE( InFile ) )

    I hope it may help you

    Regards
    Umer Farooq
    #IBMSterlingTransformationExtender
    #DataExchange
    #IBM-Websphere-Transformation-Extender