FreeKB - qstatus command (display queue status)
IBM MQ - qstatus command (display queue status)

If you are not sure what a Queue 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 queues. 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.

runmqsc MANAGER01

 

Use the qstatus command to display the status of a queue (queue01 in this example).

display qstatus (QUEUE01)

 

The following will be displayed.

QUEUE(QUEUE01)      TYPE(QUEUE)
CURDEPTH(0)         IPPROCS(1)
LGETDATE()          LGETTIME()
LPUTDATE()          LPUTTIME()
MEDIALOG()          MONQ(OFF)
MSGAGE()            OPPROCS(0)
QTIME(,)            UNCOM(NO)

 



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 3d1b4 in the box below so that we can be sure you are a human.




Comments