FreeKB - Display IBM MQ Topic
Display IBM MQ Topic

Home > Search


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

Display all of the topics in the queue manager.

echo "display topic (*)" | runmqsc MANAGER01

 

Following is an example of what will be displayed.

AMQ8409I: Display topic details.
  TOPIC(TOPIC01)                          TYPE(LOCAL)
AMQ8409I: Display topic details.
  TOPIC(SYSTEM.ADMIN.TOPIC)               TYPE(LOCAL)

 

To display the configuration of a particular topic.

echo "display topic (TOPIC01)" | runmqsc MANAGER01

 

Following is an example of what will be displayed.

TOPIC(topic01)             TYPE(LOCAL)
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)

 



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




Comments