IBM Support

Instructions and Warnings: How to increase the MAXMSGL for IBM MQ Queue Managers, Queues and Channels from the default 4 MB to a higher number

Troubleshooting


Problem

You have an IBM MQ Client application that works fine in sending short messages to an IBM MQ queue manager. 
However, whenever the size of the message is greater than 4 MB, you get errors with reason codes such as:
2010 MQRC_DATA_LENGTH_ERROR
2031 MQRC_MSG_TOO_BIG_FOR_Q_MGR
2218 MQRC_MSG_TOO_BIG_FOR_CHANNEL
 

Resolving The Problem

There are 4 main sections in this article:
a) Notes and recommendations
b) Caveats and Warnings
c) Few objects to support maximum message length of 100 MB.
d) All objects to support a maximum message length of 100 MB.
 
See page 5 in the PDF regarding this common question:
+ Is it possible to handle large objects using the MQ infrastructure? Answer: YES, with MFT
   - For large objects, you could consider treating them as files and use MQ MFT
   - Can "MQ Segmentation" be used to overcome the 100 MB limit? Answer: NO
 
+++ See the attached PDF file
+++ end +++

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYHRD","label":"IBM MQ"},"ARM Category":[{"code":"a8m0z00000008N4AAI","label":"Connectivity"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)","Line of Business":{"code":"LOB45","label":"Automation"}}]

Product Synonym

WMQ MQ

Document Information

Modified date:
20 April 2023

UID

swg21420754