[mqm@jxglapp1 sbin]$ ./getx_message QMEMBFE SYSTEM.ADMIN.SVRCONN 10.3.244.1 1417 3133310008_6
MQOPEN failed (Reason = 2042), retry timed out at script/get_mq_message.pl line 31.
Unable to open queue.
[mqm@jxglapp1 sbin]$ ./getx_message QMEMBFE SYSTEM.ADMIN.SVRCONN 10.3.244.1 1417 3133310008_6
MQOPEN failed (Reason = 2042), retry timed out at script/get_mq_message.pl line 31.
Unable to open queue.
2042 (07FA) (RC2042): MQRC_OBJECT_IN_USE
my $queue = MQSeries::Queue->
new(QueueManager => $qmgr_obj,
Queue => "$QueueName",
Mode => 'input_exclusive',
) or die("Unable to open queue.\n");
my $command = MQSeries::Command->new(QueueManager => $qmgr_obj);
Explanation
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
MQ打开队列模式 input和input_exclusive
最新推荐文章于 2019-09-04 08:53:05 发布