Bootstrap FreeKB - IBM MQ - Show queue status using the display qstatus command
IBM MQ - Show queue status using the display qstatus command

Updated:   |  IBM MQ articles

If you are not sure what a Queue is, check out our Getting Started tutorial. These examples are based on Linux.

The display qstatus command can be used to display the status of a local or remote queue. In this example, the status of the queue named QUEUE01 in the queue managed named MANAGER01 wis displayed.

AVOID TROUBLE

When a name of the queue contains one or more white spaces or special characters, the value must be wrapped in quotes. In this example, QUEUE01 is NOT wrapped in quotes since QUEUE01 does not contain any white spaces or special characters.

~]# echo "display qstatus (QUEUE01)" | runmqsc MANAGER01
QUEUE(QUEUE01)      TYPE(QUEUE)
CURDEPTH(0)         IPPROCS(1)
LGETDATE()          LGETTIME()
LPUTDATE()          LPUTTIME()
MEDIALOG()          MONQ(OFF)
MSGAGE()            OPPROCS(0)
QTIME(,)            UNCOM(NO)

 

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


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