Convert data that your message flows are transferring between different environments by using WebSphere® MQ or IBM® Integration Bus facilities.
Data conversion is the process by which data is transformed from the format that is recognized by one operating system into the format that is recognized by a second operating system with different characteristics such as numeric order.
If you are using a network of systems that use different methods for storing numeric values, or you need to communicate between users who view data in different code pages, you must consider how to implement data conversion.
In WebSphere MQ, these factors are handled by
the CCSID field in the MQMD header. For more information about the MQMD
header, see "MQMD - Message descriptor" in the Application Programming
Reference section of the WebSphere MQ Version 7.5 product
documentation online. For more information about
code page support, see "Code page conversion", also in the Application
Programming Reference section.
Endian is an attribute of data that describes whether it is stored in computer memory or transmitted with the most significant byte first (big endian) or last (little endian).
In WebSphere MQ, these factors are handled by
the Encoding field in the MQMD header. For more information about the MQMD
header, see "MQMD - Message descriptor" in the Application Programming
Reference section of the WebSphere MQ Version 7.5 product
documentation online. For more information about
encoding, see "Machine encoding", also in the Application Programming
Reference section.
When you use IBM Integration Bus, you can use the data conversion facilities of IBM Integration Bus, WebSphere MQ, or both.
IBM Integration Bus can also convert the WebSphere MQ headers for which parsers are provided.
When you use IBM Integration Bus facilities, the whole message is not converted to the specified encoding and CCSID: you can specify a different encoding, or CCSID, or both, in each header to perform a different conversion for the following part of the message. The encoding and CCSID in the last header defines the values for the message body.
Headers and message body are converted according to the values set in the appropriate MQMD fields, and other header format names. You might need to set up data conversion exits to convert the body of your messages.
When you use WebSphere MQ facilities, the whole message is converted to the specified encoding and CCSID, according to the setting of the format in the WebSphere MQ header.
For more detail about data conversion using WebSphere MQ facilities, see
"Data conversion" in the Application Programming Reference
section of the WebSphere MQ Version 7.5 product
documentation online.