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.
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.
15 June 2018