IBM Support

What CCSID is used by default for WebSphere MQ client messages

Troubleshooting


Problem

You set the CCSID to MQCCSI_Q_MGR. You expect that WebSphere MQ will use the server CCSID. However, WebSphere MQ uses the CCSID of the remote system. When this happens you receive incorrect output.

Cause

A MQ client sets the MQCCSI_Q_MGR value based on the environment in which the client application is running. This may not be the same as the queue manager CCSID value. If this distinction is not made, then data from a Windows and UNIX systems to z/OS systems may be treated as EBCDIC when it is ASCII.

Resolving The Problem

If the default values are not ideal, applications can set the CodedCharSetId value explicitly in the MQPUT call. This allows applications to have complete control over the interpretation of the message data.

Internal Use Only

This environment variable can be used if all else fails:

UNIX/LINUX export MQCCSID=XXXX

Windows set MQCCSID=XXXX

[XXXX is the CCSID you wish to use]

As this is a hidden parameter it is not assured to be there in future releases.

[{"Product":{"code":"SSFKSJ","label":"WebSphere MQ"},"Business Unit":{"code":"BU004","label":"Hybrid Cloud"},"Component":"Data Conversion","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"9.0;8.0;7.5;7.1;7.0","Edition":""}]

Historical Number

36966L6Q000

Product Alias/Synonym

WMQ MQ

Document Information

Modified date:
15 June 2018

UID

swg21215215