MainframeKit

2071

MQRC_STORAGE_NOT_AVAILABLE (X'0817')MQ REASON CODE

The call failed because there was not enough main storage (memory) to complete it.

MOST LIKELY

A program is looping and using up memory.

FIRST CHECK

Check running programs for loops or leaks.

TRY IT ▸

Block size and space calculator

What it means

MQ could not get the memory it needed for this call. The shortage can be in the queue manager or in the application's own address space.

Typical causes

  • A program is looping and using up memory.
  • The queue manager's region is too small for its workload.
  • On z/OS, the application address space has used all of its storage.
  • Very large messages or many handles need more memory than planned.

How to fix it

  1. Check running programs for loops or leaks.
  2. On z/OS, check the job's region size and ask the system programmer to raise the queue manager's region if needed.
  3. On distributed, check system memory and process limits.
  4. Retry once storage is freed, and add monitoring for memory use.

Example

Illustrative only; names and values are invented.

MQPUT failed  CompCode=2  Reason=2071  QMgr=QM01