Bootstrap FreeKB - IBM MQ - Show local queue config using the display qlocal command
IBM MQ - Show local queue config using the display qlocal 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.

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 queue command can be used to display both local and remote queues. The display qremote command can be used to display only remote queues.

 


Display all local queues

Display all of the local queues in the queue manager.

echo "display qlocal (*)" | runmqsc MANAGER01

 

Following is an example of what will be displayed.

AMQ8409I: Display Queue details.
  QUEUE(QUEUE01)                          TYPE(QLOCAL)
AMQ8409I: Display Queue details.
  QUEUE(QUEUE02)                          TYPE(QLOCAL)
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 qlocal (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 qlocal (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)

 




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