IBM Sterling Transformation Extender

Sterling Transformation Extender

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


#Sterling
 View Only
  • 1.  data with quote

    Posted Fri September 18, 2009 04:57 PM

    Originally posted by: SystemAdmin


    Hi,

    The input file I have has data surrounded by double quote (").

    example: "INS" (the field size is variable).

    The output needs to be without double quote.

    example: INS

    I can't use substitute because substitute function does not allow to code """ as the replacement field. (=substitute (A, """, "") this one does not work. can't get off the mapping rule.

    Do you know what function I can do to get rid of the double quote?

    Thanks.

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


  • 2.  Re: data with quote

    Posted Fri September 18, 2009 05:06 PM

    Originally posted by: SystemAdmin


    Never mind. I found the way to code it. Using Hextexttostream.

    Thanks for reading.

    Huong :-)
    #IBM-Websphere-Transformation-Extender
    #DataExchange
    #IBMSterlingTransformationExtender


  • 3.  Re: data with quote

    Posted Mon September 21, 2009 12:48 PM

    Originally posted by: SystemAdmin


    Congrats on solving your problem. There are other approaches as well. One is to define the element in the input type tree as having quotes in the initiator and terminators. Another approach might have been to use the LEAVEALHPANUM function.
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender
    #DataExchange


  • 4.  Re: data with quote

    Posted Mon September 21, 2009 01:08 PM

    Originally posted by: SystemAdmin


    Just one more thing, one can use the SUBSTITUTE function with quotes by combining it with the SYBOL function. SUBSTITUE( ELEMENT, SYMBOL(34), "")
    #DataExchange
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender