Service Virtualization

Expand all | Collapse all

Can EBCDIC format be converted to XML format

Jump to Best Answer
  • 1.  Can EBCDIC format be converted to XML format

    Posted 01-14-2017 01:40 AM

    Hi,

     

    Do we have any feature in LISA to convert EBCDIC format to XML format?

     

    Thanks,

    Narasimha



  • 2.  Re: Can EBCDIC format be converted to XML format
    Best Answer

    Posted 01-14-2017 03:12 AM

    EBCDIC is a character encoding, like ASCII or UTF-8.  If you have XML encoded with EBCDIC, and want to convert that to XML encoded with ASCII/UTF-8, then it depends on how you're obtaining the data. 

     

    If you're getting it as the payload in an IBM MQ message then there are a few things built into the IBM MQ Native protocol that can decode EBCDIC for you. 

     

    If you're using another protocol or doing something else entirely then I don't think there is anything built in to help you.  You can write a script to do the conversion, but the details depend on exactly what you're doing.

     

    If you have something that is *not* XML, encoded with EBCDIC, then converting that to XML depends more on the actual format of your data than on the character encoding being used.



  • 3.  Re: Can EBCDIC format be converted to XML format

    Posted 01-17-2017 02:54 PM

    Narasimha,

     

    Did Kevin's post help you out?

     

    Regards,

    Reid



  • 4.  Re: Can EBCDIC format be converted to XML format

    Posted 01-17-2017 08:01 PM

    Thanks Kevin for your reply.