FreeKB - display queue command
IBM MQ - display queue command

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

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.

The display qlocal command can be used to display only local queues. The display qremote command can be used to display only remote queues.

 


Display all queues

Display all of the queues in the queue manager.

echo "display queue (*)" | runmqsc MANAGER01

 

Following is an example of what will be displayed.

AMQ8409I: Display Queue details.
  QUEUE(QUEUE01)                          TYPE(QLOCAL)
AMQ8409I: Display Queue details.
  QUEUE(QUEUE01)                          TYPE(QREMOTE)
AMQ8409I: Display Queue details.
  QUEUE(SYSTEM.ADMIN.ACTIVITY.QUEUE)      TYPE(QLOCAL)

 


Display all configuration of a particular queue

To display the configuration of a particular queue.

echo "display queue (QUEUE01)" | runmqsc MANAGER01

 

Following is an example of what will be displayed.

QUEUE(queue01)             TYPE(QLOCAL)
ACCTQ(manager01)           ALTDATE(2019-09-23)
ALTTIME(04.57.55)          BOQNAME()
BOTHRESH(0)                CLUSNL()
CLUSTER()                  CLCHNAME()
CLWLPRTY(0)                CLWLRANK(0)
CLWLUSER(QMGR)             CRDATE(2019-10-14)
CRTIME(04.57.55)           CURDEPTH(0)
CUSTOM()                   DEFBIND(OPEN)
DEFPRTY(0)                 DEFPSIST(NO)
DEFPRESP(SYNC)             DEFREADDA(NO)
DEFSOPT(SHARED)            DEFTYPE(PREDEFINED)
DESCR()                    DISTL(NO)
GET(ENABLED)               HARDENBO
IMGRCOVQ(QMGR)             INITQ()
IPPROCS(2)                 MAXDEPTH(5000)
MAXMSGL(4194304)           MONQ(QMGR)
MSGDLVSQ(PRIORITY)         NOTRIGGER
NPMCLASS(NORMAL)           OPPROCS(0)
PROCESS()                  PUT(ENABLED)
PROPCTL(COMPAT)            QDEPTHHI(80)
QDEPTHLO(20)               QDPHIEV(DISABLED)
QDPLOEV(DISABLED)          QDPMAXEV(ENABLED)
QSVCIEV(NONE)              QSVCINT(999999999)
RETINTVL(999999999)        SCOPE(QMGR)
SHARE                      STATQ(QUICK)
TRIGDATA()                 TRIGDPTH(1)
TRIMGPRI(0)                TRIGTYPE(FIRST)
USAGE(NORMAL)

 


Display a specific configuration of a particular queue

In this example, only the GET PUT and MAXDEPTH of queue01 will be displayed.

echo "display queue (QUEUE01) GET PUT MAXDEPTH" | runmqsc MANAGER01

 

Following is an example of what will be displayed.

QUEUE(queue01)             TYPE(QLOCAL)
GET(ENABLED)               PUT(ENABLED)
MAXDEPTH(5000)

 



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




Comments