Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

com.ibm.mq.mqexception:mqje001: completion code '2' reason '2001' #195

Open
KittyGayu opened this issue May 29, 2024 · 0 comments
Open

com.ibm.mq.mqexception:mqje001: completion code '2' reason '2001' #195

KittyGayu opened this issue May 29, 2024 · 0 comments

Comments

@KittyGayu
Copy link

Hello,

we have a utiltiy project for MQ, it is working for Local queues and not working for Alias queues.
we tried put operation for Alias queue it is giving com.ibm.mq.mqexception:mqje001: completion code '2' reason '2001'

C:>mqrc 2001

  2001  0x000007d1  MQRC_ALIAS_BASE_Q_TYPE_ERROR

The Infocenter page for this return code provides the following explanation:

2001 (07D1) (RC2001): MQRC_ALIAS_BASE_Q_TYPE_ERROR

Explanation

An MQOPEN or MQPUT1 call was issued specifying an alias queue as the destination, but the
BaseQName in the alias queue definition resolves to a queue that is not a local queue, a
local definition of a remote queue, or a cluster queue. Completion Code

MQCC_FAILED Programmer response

Is it possible to Put message in Alias queue or it's not possible.

Please help on this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant