What it means
The alias target (BaseQName) cannot be resolved to a queue. IBM notes it can happen when the target is a cluster queue that cannot be resolved, while running REFRESH CLUSTER, or when the application names the local queue manager in ObjectQmgrName so the target is looked for locally.
Typical causes
- The alias BaseQName is not a known queue name.
- BaseQName is a cluster queue that cannot be resolved.
- REFRESH CLUSTER is running.
- ObjectQmgrName names the queue manager hosting the alias, but the target queue is not on that queue manager.
How to fix it
- Correct the queue definitions.
- Leave ObjectQmgrName blank so clustering decides where to route.
- For MQ classes for JMS, set the QMANAGER property of the JMS queue object to an empty string.
- For cluster queues, use output-only open options, since messages cannot be got from a remote cluster queue.
Example
Illustrative only; names and values are invented.
MQOPEN failed CompCode=2 Reason=2082 Queue=APP.ALIAS.QUEUE