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.  wtx error regarding chinese chars

    Posted 08/10/11 09:41 AM

    Originally posted by: ashi11


    (Level 3: Offset 639, len 0, comp 4 of 9, #1, DI 0000001C:)
    Data at offset 639 ('SüZK[sRÈd9NüQé') was found to be of TYPE
    X'0023' (LastName Type ROOT).

    (Level 3: Offset 640, len 86, comp 5 of 9, #1, DI 0000001D:)
    Data at offset 640 ('SüZK[sRÈd9NüQéa') was found to be of TYPE
    X'0024' (Addr1 Type ROOT).

    (Level 3: Offset 727, len 0, comp 6 of 9, #1, DI 0000001E:)
    Data at offset 727 ('<WSP>ÅÖÔâÇ~Öâ<OWSP>ðð<OWSP><WSP><WSP>...') does not match TERMINATOR ''
    of TYPE X'0025' (Addr2 Type ROOT).

    (Level 3: Offset 727, len 0, comp 6 of 9, #1, DI 0000001E:)
    COMPONENT number 6 of TYPE X'001F' (BaseSvcRs Group ROOT)
    is required, but does not exist.
    the terminator is <owsp>whereas mentioned in map is <ETX> after each field and <STX> after each segment/group.the data transfering is from ibm-937 to UTF-8.
    #IBM-Websphere-Transformation-Extender
    #DataExchange
    #IBMSterlingTransformationExtender


  • 2.  Re: wtx error regarding chinese chars

    Posted 08/11/11 09:22 AM

    Originally posted by: vickey


    Ashi,

    How are you reading the file from WTX. The file has to be either UTF-8 encoded or it has to Simplified Chinese or Tradition Chinese encoded.

    If the file is UTF-8 encoded we don't need to worry about simplified or traditional.

    follow the below steps

    1) Make sure the input file you received is a UTF-8. If the file is not UTF-8 then make sure the file do not have any extended ASCII characters
    2) If by assumption the input file is UTF-8 then Make sure the Input Type Tree and all other output type trees(fields) are updated to handle UTF-8. i.e change NATIVE to UTF-8, in the type trees
    3) And also the MINSIZE and MAXSIZE needs to be interchanged. i.e if MINSIZE(BYTES) is 6 and MAXSIZE(BYTES) is 0, then change it to MINSIZE(CHAR)-6 and MAXSIZE(CHAR)-0 and make MINSIZE(BYTES)-0(What ever MINSIZE of CHARACTERS ARE HAVING) and MAXSIZE(BYTES)-(What ever MAXSIZE of CHARACTERS ARE HAVING). If this step is not done then even if you change from NATIVE to UTF-8, the change will not effect.
    4) Since the Type Trees are updates to UTF-8 the CPACKAGE should have "NATIVE".
    5) Open the file in IE or Firefox and goto FILE->TOOLS->ENCODING and change it to UTF-8

    If you need any more clarification send me the PI and I will try to correct the map.

    Regards,
    Vickey
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender
    #DataExchange


  • 3.  Re: wtx error regarding chinese chars

    Posted 03/31/14 11:19 AM

    Originally posted by: D_Sweta


    Hi Vickey,

     

    Could you give more insight to the MAXSIZE and MINSIZE you described here?

    I wanted to make my transformation dynamic without any size constraint.


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


  • 4.  Re: wtx error regarding chinese chars

    Posted 03/31/14 05:28 PM

    Originally posted by: vickey


    Hi,

    The MIN and MAX are the properties of Type Tree elements.

    Set the MIN size to 0 and leave the MAX Size to BLANK in case of XML message format.

    If the message format is other than XML, then I suggest you put the MIN and MAX sizes.

    Thanks.

     


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


  • 5.  Re: wtx error regarding chinese chars

    Posted 04/01/14 10:49 AM

    Originally posted by: D_Sweta


    Hi,

    I have a binary encoded string as my input which I'm trying to convert to chinese.I have kept the MINSIZE to 0 and MAXSIZE as empty.Data language is UTF-8.

    But still I'm getting the binary input data as output without any conversion.

    Sorry,if I'm missing out anything silly.


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


  • 6.  Re: wtx error regarding chinese chars

    Posted 04/01/14 10:49 AM

    Originally posted by: D_Sweta


    Hi,

    I have a binary encoded string as my input which I'm trying to convert to chinese.I have kept the MINSIZE to 0 and MAXSIZE as empty.Data language is UTF-8.

    But still I'm getting the binary input data as output without any conversion.

    Sorry,if I'm missing out anything silly.


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