FreeKB - IBM MQ - display channel command
IBM MQ - display channel command

Home > Search


If you are not sure what an MQ Server Connection Channel is, check out our Getting Started tutorial. These examples are based on Linux.

Start the MQSC utility for the queue manager that you want to display the server connection channel. In this example, MANAGER01 is the name of the queue manager. If you are not sure the name of the queue manager, use the dspmq command to display the queue managers. This assumes that the "mqm" users .bash_profile has been updated to have PATH=$PATH:<root installation directory>/bin.

Display all of the channels in the queue manager.

echo "display channel(*)" | runmqsc MANAGER01

 

Following is an example of what will be displayed.

AMQ8414: Display Channel details.
  CHANNEL(MANAGER01.CHANNEL01.SVR)        CHLTYPE(SVRCONN)
AMQ8414: Display Channel details.
  CHANNEL(MANAGER01.CHANNEL02.SVR)        CHLTYPE(SVRCONN)
AMQ8414: Display Channel details.
  CHANNEL(MANAGER01.CHANNEL03)            CHLTYPE(RCVR)

 

To display the configuration of a channel.

echo "display channel (CHANNEL01)" | runmqsc MANAGER01

 

Following is an example of what will be displayed.

CHANNEL(CHANNEL01)           CHLTYPE(SVRCONN)
ALTDATE(yyyy-mm-dd)          ALTTIME(hh.mm.ss)
CERTLABL( )                  COMPHDR(NONE)
COMPSMG(NONE)                DESCR( )
DISCINT(0)                   HBINT(300)
KAINT(AUTO)                  MAXINST(999999999)
MAXINSTC(999999999)          MAXMSGL(4194304)
MCAUSER(JohnDoe)             MONCHL(QMGR) 
RCVDATA( )                   RCVEXIT( )
SCYDATA( )                   SCYEXIT( )
SENDDATA( )                  SENDEXIT( )
SHARECNV(10)                 SSLCAUTH(REQUIRED)
SSLCIPH( )                   SSLPEER( )
TRPTYPE(TCP)

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter 76523 in the box below so that we can be sure you are a human.




Comments