MaxMsgLength (MQLONG)
This is the length of the longest physical message that the queue manager can handle. However, because the MaxMsgLength queue manager attribute can be set independently of the MaxMsgLength queue attribute, the longest physical message that can be placed on a queue is the lesser of those two values.
If the queue manager supports segmentation, an application can put a logical message that is longer than the lesser of the two MaxMsgLength attributes, but only if the application specifies the MQMF_SEGMENTATION_ALLOWED flag in MQMD. If that flag is specified, the upper limit for the length of a logical message is 999 999 999 bytes, but usually resource constraints imposed by the operating system, or by the environment in which the application is running, result in a lower limit.
The lower limit for the MaxMsgLength attribute is 32 KB (32 768 bytes). The upper limit is 100 MB (104 857 600 bytes).
To determine the value of this attribute, use the MQIA_MAX_MSG_LENGTH selector with the MQINQ call.