Collecting information for data conversion problems on z/OS
If you need assistance to resolve a data conversion problem on IBM® MQ for z/OS®, you might need to collect troubleshooting information to include with your support case to help find a solution to the problem.
Before you begin
- What data conversion problem did you observe on the system?
- What time did the data conversion problem start and when did it stop?
- Which queue managers, channels, remote queues and transmission queues are involved?
- An IBM MQ message consists of two parts, the control
information in a message descriptor and the application data.Application data is converted using one of the following methods:
- In an application program when the MQGMO_CONVERT option is specified on an MQGET call.
- In the channel program by specifying CONVERT(YES) keyword on the sender or server channel.
- The Format field
in the MQMD structure associated with the message must contain a valid format:
- MQFMT_NONE is the initial setting and data conversion does not occur with this setting.
- The built in format (MQFMT_STRING) should be used if the message is string data. IBM MQ data conversion programs convert the data.
- If your message contains numeric data, then you need to have your own format. You also need to write your own exit program to do the data conversion.
- The built in format (MQFMT_CICS) can be used with CICS® messages, however messages in that format can only be converted on IBM MQ on host systems. When sending messages to a different platform you should configure the sender channel process to do the data conversion. See RC 2110 (MQRC_FORMAT_ERROR) for more information.
- Conversion of EBCDIC newline characters
If you need to ensure that the data you send from an EBCDIC platform to an ASCII one is identical to the data you receive back again, you must control the conversion of EBCDIC newline characters. This can be done using a platform-dependent switch that forces IBM MQ to use the unmodified conversion tables but you must be aware of the inconsistent behavior that can result.
The problem arises because the EBCDIC newline character is not converted consistently across platforms or conversion tables. As a result, if the data is displayed on an ASCII platform, the formatting can be incorrect. This makes it difficult, for example, to administer an iSeries system remotely from an ASCII platform using RUNMQSC.
For further information about converting EBCDIC-format data to ASCII format, see ConvEBCDICNewline.
About this task
If you can reproduce the data conversion problem or the problem is happening right now, you can generate data to provide more information about the problem.
After collecting the troubleshooting information, you can send it to IBM.