Learn it on Mainframe Path. Do it with Mainframe KIT.Learn on Mainframe Path ▸
Mainframe KIT ● Nothing leaves this tab

2030

MQRC_MSG_TOO_BIG_FOR_Q (X'07EE')MQ REASON CODE · CHECKED 2026-11-14
Checked against IBM documentation

A put failed because the message is longer than the maximum message length allowed for the target queue, and segmentation was not allowed.

QUICK ANSWER

A put failed because the message is longer than the maximum message length allowed for the target queue, and segmentation was not allowed.

LIKELY CAUSES, IN THE ORDER OF THIS ENTRY

  1. The message is longer than the lesser of the queue and queue manager MaxMsgLength attributes.
  2. On z/OS, the program relies on segmentation, which the queue manager ignores.
  3. Segmentation was requested but the data cannot be split into segments small enough for the queue.

CHECKED 14 Nov 2026 IBM: 2030 (07EE) (RC2030): MQRC_MSG_TOO_BIG_FOR_Q | IBM MQ 10.0.x

MOST LIKELY

The message is longer than the lesser of the queue and queue manager MaxMsgLength attributes.

FIRST CHECK

Check that the BufferLength parameter is specified correctly.

TRY IT ▸

Site search

What it means

An MQPUT or MQPUT1 tried to put a message that was too long for the queue without MQMF_SEGMENTATION_ALLOWED. Without segmentation, the length may not exceed the lesser of the queue's and the queue manager's MaxMsgLength.

On z/OS segmentation is not supported, so the flag is accepted but ignored. The code can also appear in the Feedback field of a report message when a channel agent could not put the message on a remote queue.

Typical causes

  • The message is longer than the lesser of the queue and queue manager MaxMsgLength attributes.
  • On z/OS, the program relies on segmentation, which the queue manager ignores.
  • Segmentation was requested but the data cannot be split into segments small enough for the queue.

How to fix it

  1. Check that the BufferLength parameter is specified correctly.
  2. Raise the queue's MaxMsgLength; the queue manager's MaxMsgLength may need raising too.
  3. Break the message into several smaller messages.
  4. Specify MQMF_SEGMENTATION_ALLOWED in MsgFlags so the queue manager can segment (not on z/OS).

Example

Illustrative only; names and values are invented.

MQPUT failed  CompCode=2  Reason=2030  Queue=APP.REQUEST.QUEUE