Displaying administrative topic object attributes

Use the MQSC command DISPLAY TOPIC to display an administrative topic object.

Before you begin

Note: The examples in this task require you to run MQSC commands. How you do this varies by platform. See Administering IBM® MQ using MQSC commands.

Example

This command displays all topics:
DISPLAY TOPIC(ORANGE.TOPIC)
You can selectively display attributes by specifying them individually with the DISPLAY TOPIC command. For example:
DISPLAY TOPIC(ORANGE.TOPIC) +
TOPICSTR +
DEFPRTY +
NPMSGDLV
This command displays the three specified attributes:
AMQ8633: Display topic details.
     TOPIC(ORANGE.TOPIC)                                         TYPE(LOCAL)
     TOPICSTR(ORANGE)                                            DEFPRTY(ASPARENT)
     NPMSGDLV(ASPARENT)
To display the topic ASPARENT values as they are used at run time, use the DISPLAY TPSTATUS command. For example, use:
DISPLAY TPSTATUS(ORANGE) DEFPRTY NPMSGDLV
The command displays the following details:
AMQ8754: Display topic status details.
TOPICSTR(ORANGE)            DEFPRTY(0)
NPMSGDLV(ALLAVAIL)
When you define an administrative topic, it takes any attributes that you do not specify explicitly from the default administrative topic, which is called SYSTEM.DEFAULT.TOPIC. To see what these default attributes are, use the following command:
DISPLAY TOPIC (SYSTEM.DEFAULT.TOPIC)