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.  Binary To Chinese Character conversion in WTX

    Posted 03/31/14 04:46 AM

    Originally posted by: D_Sweta


    Hi,

    I have some binary encoded data as input for which I have a copybook input.I have to convert the input to chinese characters(IBM937 encoded).When I mention the natinal language as chinese traditional anddata language as ibm937  I am getting the binary input as output without any change.

     

    Could anyone suggest what should I mention in output type tree for such conversion.


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


  • 2.  Re: Binary To Chinese Character conversion in WTX

    Posted 03/31/14 11:37 AM

    Originally posted by: Laurent(Satisco)


    Why is your input specified as Binary?

    If your input is not a known character set, the WTX will not be able to convert to any output charset.

    If changes are needed, they are on the input side, or may be you could use a "C" function (CTEXT/CPACKAGE ) to do the conversion, but still you need to tell it what's the input encoded in.


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


  • 3.  Re: Binary To Chinese Character conversion in WTX

    Posted 04/01/14 10:41 AM

    Originally posted by: D_Sweta


    I have hex data that I need to convert to chinese characters.So first I converted them to binary stream using HEXTEXTTOSTREAM() function and was then giving this as input for chinese conversion.

    So,as per your reply,wont WTX process this binary data?

     


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


  • 4.  Re: Binary To Chinese Character conversion in WTX

    Posted 04/01/14 10:56 AM

    Originally posted by: Laurent(Satisco)


    WTX will process Binary data, but the question is how it could understand what to do with your data?

    If HEXTEXTTOSTREAM returns the proper characters, then this should work directly. Otherwise you'll have to instruct WTX about the original character set.


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