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

Handling UTF-8 encoded characters in RUN map

  • 1.  Handling UTF-8 encoded characters in RUN map

    Posted Wed October 29, 2014 07:00 AM

    Originally posted by: Debnarayan


    Hi All,

    I am trying to call a map repeatedly from a map and capture the output of the map to caller map. Then, at the last step of the caller map execution, I want to concatenate the outputs and write it to a file/db. I used " -OE1 " (assuming first output card) and noticed that some characters (like Hyphen) are not retained in the returned output text stream.

    I have resolved the issue with writing directly to a file (" -OF1+ ") in append mode. This works for my case.

     

    However, could you please suggest me any option to capture the data stream without altering data content?

     

     

     

    Thanks,

    Debnarayan


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


  • 2.  Re: Handling UTF-8 encoded characters in RUN map

    Posted Wed October 29, 2014 09:47 AM

    Originally posted by: paul.brett


    Have you tried wrapping the RUN() inside a CPACKAGE() so that no conversion is done?

    Example:

    =CPACKAGE(RUN("Blob.mmc",ECHOIN(1,Input)+" -OE1"),"xyz")

    ....replace 'xyz' with the actual encoding of the object from which you call the rule.  i.e. UTF-8.

    Thank-you.

    Paul

    Follow me on Twitter

     


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


  • 3.  Re: Handling UTF-8 encoded characters in RUN map