IBM Sterling Transformation Extender

Sterling Transformation Extender

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


#Sterling
 View Only
Expand all | Collapse all

< in text while passing to runmap

  • 1.  < in text while passing to runmap

    Posted Wed August 21, 2019 12:50 PM

    Originally posted by: Potteti


    Hi,

    I have a call map and run map, I am getting text &lt;3 in one of the text fileds, while I try to pass the same to runmap its throwing an error. 

    I tried using CPACKAGE(Value, "Native") but is not working.

    Can anyone suggest how to make this work? Any help is appreciated.

    Regards,

    Raj


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


  • 2.  Re: < in text while passing to runmap

    Posted Fri August 23, 2019 04:48 AM
      |   view attached

    Originally posted by: PaulBrett


    The top level map should read the XML entity and transform it (during validation) to its character representation.  So, a data file containing &lt; should be read into memory as <.  If you're seeing &lt; in your data, it is likely your input Typetree is incorrect.

    I attach two  examples.

    Thank you.

    Paul

    Follow me on Twitter


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

    Attachment(s)

    zip
    XmlEntities.zip   14 KB 1 version