Hello!
I have found this error which has been introduced in 2.0.6 by 66a3db8#diff-e6605e9a681300c4abe61dee8125f2394dee6582a0dd71ed7591a428ed8cd0df
Scenario:
- Created a queue manager on a machine that is using CCSID 819
- Ran the
MQCMD_INQUIRE_Q_MGR PCF command with the MQOO_READ_AHEAD option
- The initial MQGET call returned an
MQRC_TRUNCATED_MSG_FAILED error
- Line 299 of
mqqueue.py sets the field CodedCharSetId to 819 on m_desc, which was initially unset
- The retry MQGET call then returned
MQRC_OPTIONS_CHANGED as CodedCharSetId is not permitted to change between MQGET calls when using read ahead
MQI Error. Comp 2, Reason 2457: FAILED: MQRC_OPTIONS_CHANGED
File "/opt/app-root/src/.venv/lib/python3.13/site-packages/ibmmq/mqadmin.py", line 392, in __call__
raise e
File "/opt/app-root/src/.venv/lib/python3.13/site-packages/ibmmq/mqadmin.py", line 326, in __call__
message = self.__pcf.reply_queue.get(self.__pcf._max_length, get_md, get_opts)
File "/opt/app-root/src/.venv/lib/python3.13/site-packages/ibmmq/mqqueue.py", line 314, in get
raise MQMIError(rv[-2], rv[-1])
Hello!
I have found this error which has been introduced in
2.0.6by 66a3db8#diff-e6605e9a681300c4abe61dee8125f2394dee6582a0dd71ed7591a428ed8cd0dfScenario:
MQCMD_INQUIRE_Q_MGRPCF command with theMQOO_READ_AHEADoptionMQRC_TRUNCATED_MSG_FAILEDerrormqqueue.pysets the fieldCodedCharSetIdto819onm_desc, which was initially unsetMQRC_OPTIONS_CHANGEDasCodedCharSetIdis not permitted to change between MQGET calls when using read ahead