[V9.0.0.0 Jun 2016]

Disconnecting MQ Light clients from the queue manager

If you want to disconnect MQ Light from the queue manager, either run the PURGE CHANNEL command or stop the connection to the MQ Light client.

  • Run the PURGE CHANNEL command. For example:
    
    PURGE CHANNEL(MYAMQP) CLIENTID('recv_28dbb7e')
    
  • Alternatively, stop the connection that the MQ Light client is using to disconnect the client by completing the following steps:

    1. Find the connection that the client is using by running the DISPLAY CONN command. For example:
      
      DISPLAY CONN(*) TYPE(CONN) WHERE (CLIENTID EQ 'recv_28dbb7e')
      
      The command output is as follows:
      
      DISPLAY CONN(*)  TYPE(CONN) WHERE(CLIENTID EQ 'recv_28dbb7e')
        40 : DISPLAY CONN(*) TYPE(CONN) WHERE(CLIENTID EQ 'recv_28dbb7e')
      AMQ8276: Display  Connection details.
        CONN(707E0A565F2D0020)                            
        EXTCONN(414D5143514D31202020202020202020)
        TYPE(CONN)
        CLIENTID(recv_28dbb7e)  
      
    2. Stop the connection. For example:
      
      STOP CONN(707E0A565F2D0020)