zoukankan      html  css  js  c++  java
  • MQ打开队列模式 input和input_exclusive

    [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.
    ");
      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 in the Options parameter. This arises if the request is for shared input, but the object is already open for exclusive input; it also arises if the request is for exclusive input, but the object is already open for input (of any sort).
    MCAs for receiver channels, or the intra-group queuing agent (IGQ agent), may keep the destination queues open even when messages are not being transmitted; this results in the queues appearing to be "in use". Use the MQSC command DISPLAY QSTATUS to find out who is keeping the queue open.
    
        On z/OS®, this reason can also occur for an MQOPEN or MQPUT1 call, if the object to be opened (which can be a queue, or for MQOPEN a namelist or process object) is in the process of being deleted.
    
    
    使用input模式:
    
    一个请求被执行,但是对象已经被另一一个指定选项参数为冲突的模式打开。
    
    这个出现如果请求是用于shared input, 但是对象是打开使用exclusive input;
    
    也可以是如果请求是使用exclusive input,但是对象已经使用input 模式打开
    

  • 相关阅读:
    ios中解析json对象基类
    iOS archive(归档)的总结
    ios block一定会犯的几个错误
    iOS求职之C语言面试题
    iOS求职之OC面试题
    iOS开发之17个常用代码整理
    91平台iOS接入demo
    IOS 启动画面和图标设置(适配IOS7 and Xcode5)
    iOS - 切换图片/clip subview/iCarousel
    jemter多种方式查看结果树及正则的使用
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13349786.html
Copyright © 2011-2022 走看看