Bootstrap FreeKB - IBM MQ - Show remote queue config using the display qremote command
IBM MQ - Show remote queue config using the display qremote 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 qlocal command can be used to display only remote queues.

 


Display all local queues

Display all of the remote queues in the queue manager.

echo "display qremote (*)" | runmqsc MANAGER01

 

Following is an example of what will be displayed.

AMQ8409I: Display Queue details.
  QUEUE(QUEUE01)                          TYPE(QREMOTE)
AMQ8409I: Display Queue details.
  QUEUE(QUEUE02)                          TYPE(QREMOTE)

 


Display all configuration of a particular queue

To display the configuration of a particular queue.

echo "display qremote (QUEUE01)" | runmqsc MANAGER01

 

Following is an example of what will be displayed.

QUEUE(queue01)             TYPE(QREMOTE)
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 qremote (QUEUE01) GET PUT MAXDEPTH" | runmqsc MANAGER01

 

Following is an example of what will be displayed.

QUEUE(queue01)             TYPE(QREMOTE)
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 951039 in the box below so that we can be sure you are a human.