Mq Failed With Reason Code 2042

Mq Failed With Reason Code 2042



12/17/2020  · 2042 (07FA) (RC2042): MQRC_OBJECT_IN_USE. Explanation. An MQOPEN call was issued, but the object in question has already been opened by this or anotherapplication with options that conflict with those specified in the Optionsparameter. This arises if the request is for shared input, but the object is already open forexclusive input; it also …

Unfortunately I’m not well-versed in Websphere MQ ; I’m kind of picking this up as I go, so I don’t have all the terminology correct. Our client is written in C++ linking against libmq 6.0.2.4 and running on SLES-10.

The 2042 means Object in use. Since there is no concept of exclusive use of queues for message producers, then one of your consumers is locking the queue. This behavior is controlled by the queue definition’s DEFSOPT attribute. This is at the queue manager itself and not in the managed object definitions or your factory options.

11/9/2009  · MQSeries.net Forum Index » General IBM MQ Support » reason code 2042 … (Though frankly I’d have expected a different reason code for that). Something else accessing the queue? Have you checked the queue or just the application that’s supposed to be using the queue? _____ …

JMS with MQ reason code 2042 (too old to reply) g***@gmail.com 2009-03-12 08:32:12 UTC. Permalink. Hi, We have a problem with JMS and MQ 6. When we use the com.ibm.mqjms.jar and open a queue with the standard JMS api the queue gets opened for exlusive read. Any attemt to open the queue from another thread throws an mqexception with reason code …

4/13/2012  · Hi , When I try to run 2 batch jobs at same time which is pointing to same, the second job failed to execute with 2042 ( says object in use)in MQOPEN . MAINFRAME HELP FORUM. … CALL ‘MQOPEN’ USING W- MQ -HCONN … Regarding Reason code = 2042 . Top. Re: Regarding Reason code = 2042 . by dick scherrer » Fri Apr 13, 2012 6:41 pm .

I have made small changes in the sample program to access NEWLY created local queue on MQ Server, which also works fine. … Completion code 2 Reason code 2042 When I went to through IBM doc , it says that QUEUE is already (MQRC_OBJECT_IN_USE) in use and Enable your queue to be handled by MORE THAN one application.

I see you are working new in MQ .. If you are seriously wanted to get a hold on the concepts of MQ try to google out the codes and try to fix them .. Googling the code 2042 you would have fixed the problem yourself.. As I was doing the same thing initially looking out for help As the linik provided by Dick has all the details you need Good luck!!, 1/19/2011  · he said he is putting messages to remote queue. even if he where putting to the xmitq directly, he would not get 2042, as he is doing output, but the exclusive is related to input. in addition, the 2042 is not related to his mqput, as he may received the returncode directly in the program, it would not have been visible in the amqerrxx.log.

Reason Code 2042: Means.. MQRC_OBJECT_IN_USE Object already open with conflicting options. An MQOPEN call was issued, but the object in question has already been opened by this or another application with options that conflict with those specified in the Options parameter.

Advertiser