What it means
The object cannot be used, for example because its in-memory definition is inconsistent, differs from the one on disk, or the disk definition cannot be read. The object can be deleted, though the associated user space may not be.
On z/OS, it occurs when a shared queue's list header or structure number is zero, which follows DELETE CFSTRUCT.
Typical causes
- The definition in main storage is inconsistent.
- The in-memory definition differs from the one on disk.
- The definition on disk cannot be read.
- On z/OS, DELETE CFSTRUCT reset the list header and structure number of a shared queue.
How to fix it
- It may be necessary to stop and restart the queue manager, or restore its data from backup.
- On AIX, Linux and IBM i, consult the FFST record for detail.
- On z/OS, delete the shared queue and redefine it with DEFINE QLOCAL.
- Native HA queue managers try automatic media recovery; the object can also be recovered manually with rcrmqobj.
- With circular logging, or objects not media recoverable, no recovery is possible and the object should be deleted.
Example
Illustrative only; names and values are invented.
MQOPEN failed CompCode=2 Reason=2101 Queue=APP.DATA.QUEUE