MQ

MQ

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  MQCMD_INQUIRE_CHANNEL_INIT

    Posted 10/24/22 05:11 PM
    Can the response from MQCMD_INQUIRE_CHANNEL_INIT produce multiple records from Listener status.  for example 3 in running status and 2 in stopped status ?

    regards
    deb

    ------------------------------
    Debabrata Ghosh
    ------------------------------


  • 2.  RE: MQCMD_INQUIRE_CHANNEL_INIT

    Posted 10/25/22 04:19 AM
    Hi Debabrata,

    Looks like you get one message back with counts, so I think that gives you what you want, see: https://www.ibm.com/docs/en/ibm-mq/9.3?topic=dpcf-mqcmd-inquire-channel-init-inquire-channel-initiator-response-zos.

    Regards,

    Martin

    ------------------------------
    Regards,

    Martin Evans
    IBM MQ Technical Product Manager
    ------------------------------



  • 3.  RE: MQCMD_INQUIRE_CHANNEL_INIT

    Posted 10/25/22 05:54 AM

    Hi Deb,

    Inquire Channel Initiator (MQCMD_INQUIRE_CHANNEL_INIT) sends one response showing the status of the channel initiator, and one response for each listener.

    So if you have, as in your example, 5 listeners, 3 running and 2 stopped, you should see 6 messages. In short, you will get one response message for each of the following boxes of the MQSC equivalent output.

    The first response is that first big box. Then each line about a listener (5 in your case, 2 in the example below) will be one more response message.

    CSQX830I MQG1 CSQXRDQM Channel initiator active CSQX831I MQG1 CSQXRDQM 8 adapter subtasks started, 8 requested CSQX832I MQG1 CSQXRDQM 5 dispatchers started, 5 requested CSQX833I MQG1 CSQXRDQM 0 SSL server subtasks started, 0 requested CSQX840I MQG1 CSQXRDQM 5 channels current, maximum 200 CSQX841I MQG1 CSQXRDQM 4 channels active, maximum 200, including 0 paused CSQX842I MQG1 CSQXRDQM 0 channels starting, 1 stopped, 0 retrying CSQX836I MQG1 CSQXRDQM Maximum channels - TCP/IP 200, LU 6.2 200 CSQX845I MQG1 CSQXRDQM TCP/IP system name is TCPIP
    CSQX846I MQG1 CSQXRDQM TCP/IP listener INDISP=QMGR started, for port 1591 address *
    CSQX849I MQG1 CSQXRDQM LU 6.2 listener INDISP=QMGR not started

    Cheers,
    Morag



    ------------------------------
    Morag Hughson
    MQ Technical Education Specialist
    MQGem Software Limited
    Website: https://www.mqgem.com
    ------------------------------



  • 4.  RE: MQCMD_INQUIRE_CHANNEL_INIT

    Posted 10/25/22 11:07 AM
    Hi Morag, thanks for your reply!

    regards
    deb

    ------------------------------
    Debabrata Ghosh
    ------------------------------



  • 5.  RE: MQCMD_INQUIRE_CHANNEL_INIT

    Posted 10/25/22 11:08 AM
    thanks all!

    regards
    deb

    ------------------------------
    Debabrata Ghosh
    ------------------------------