Administrative Topic Objects

Not every DEFINE TOPIC exists because an application publishes there today. Administrative topic objects are deliberate parents in the IBM MQ topic tree: they declare a business domain prefix, anchor security, connect cluster scope attributes, and pass defaults to child strings before leaf events go live. Operations teams use them the way DNS zones work—you create finance.example.com before hundreds of host records, not because the zone itself serves web pages. Without administrative parents, enterprises accumulate flat TOPIC names, inconsistent PUBSCOPE on cluster estates, and authority profiles that must be duplicated for every new leaf. This tutorial explains administrative versus application topics, ADMINTOPIC linkage, proxy patterns, inheritance of durability and priority hints, authority at branch level, MQSC examples, migration from flat catalogs, and mistakes beginners make when every topic object is a leaf.

Administrative vs Application Topics

An application topic maps directly to traffic: INVENTORY.ITEM.UPDATED with TOPSTR('inventory/item/updated') and active publishers. An administrative topic might be INVENTORY.BRANCH with TOPSTR('inventory') and no publisher—its job is to say “everything under inventory/ inherits these rules.” Application teams still publish to leaves; security teams grant +pub at the branch object or string prefix once. Distinguishing the two types in your CMDB prevents accidental deletion of “unused” topics that are actually security roots.

Administrative vs application topic objects
AspectAdministrative parentApplication leaf
Typical TOPSTR depthOne or two segments (domain/entity)Full event path
PublishersUsually noneActive producers
Primary goalGovernance and tree shapeEvent delivery
CLUSTER on CLUS parentOften yes at domain rootSometimes local only
Change frequencyRare—architecturePer release features

ADMINTOPIC and the Administration Chain

On DEFINE TOPIC, ADMINTOPIC('PARENT.NAME') associates a topic object with the administrative topic that owns its branch. IBM MQ uses this relationship when resolving proxy behavior, inherited attributes, and subtree operations—consult the IBM MQ 9.3 DEFINE TOPIC attribute table for your exact release because optional attributes evolve between versions. Conceptually: child.ADMINTOPIC points at parent; parent may point at a higher enterprise root. Broken chains—child references deleted parent—cause alter and display anomalies; migration scripts should REPLACE children after parents exist.

shell
1
2
3
4
5
6
7
DEFINE TOPIC('HEALTH.ADMIN') TOPSTR('healthcare') TOPTYPE(LOCAL) + DESCR('Administrative root - no publishers') DEFINE TOPIC('HEALTH.CLAIM.BRANCH') TOPSTR('healthcare/claim') + TOPTYPE(LOCAL) ADMINTOPIC('HEALTH.ADMIN') DESCR('Claim subtree admin') DEFINE TOPIC('HEALTH.CLAIM.ADJ') TOPSTR('healthcare/claim/adjudicated') + TOPTYPE(LOCAL) ADMINTOPIC('HEALTH.CLAIM.BRANCH') DESCR('Leaf event topic') DISPLAY TOPIC('HEALTH.CLAIM.ADJ') ADMINTOPIC

Defaults Inherited by Children

Administrative parents can carry model-like hints: default publication priority (DEFPRTY), durability model (MDUR), pub/sub scope (PUBSCOPE, SUBSCOPE on cluster designs). Child leaf topics and dynamic strings under the branch may inherit where applications do not override at publish time. Inheritance reduces drift—without it, one team sets persistent retain on status topics while another forgets, and monitoring sees inconsistent behavior under the same domain prefix.

Authority at the Branch

Grant publish and subscribe authority at healthcare/claim/# instead of per-leaf profiles when your security model allows subtree grants. On distributed platforms, setmqaut -t topic -n 'healthcare/claim/#' +pub limits who may inject claim events. Administrative topic objects give auditors a DISPLAY TOPIC name tied to that prefix. Pair technical MQ authority with application credential rotation—administrative topics do not replace authentication, they organize where checks attach in the tree.

Proxy and Stream Considerations

In advanced topologies, administrative topics participate in proxy routing between queue managers—publications arrive at a parent and forward per cluster and stream configuration. Beginners on a single queue manager can defer proxy details; multi-QM estates should read IBM MQ pub/sub clustering with administrative parents defined before enabling cross-site fan-out. Wrong parent PUBSCOPE blocks all children silently except on the local QM.

Explainer: Building Code and Fire Doors

Administrative topics are fire doors and corridor signs on a floor plan. Individual offices (leaf topics) have people working, but the floor plan decides where smoke alarms apply to every room on the wing. You install the plan before every office is occupied.

Migration: Flat Catalog to Tree

  1. Inventory existing publish strings from logs and DISPLAY TPSTATUS.
  2. Group by shared prefix; define administrative parent per domain.
  3. ALTER or DEFINE leaf topics with ADMINTOPIC pointing at new parent.
  4. Move authority from flat leaves to branch where safe; test one non-prod publisher.
  5. Document in enterprise topic catalog PDF; retire duplicate flat TOPIC names via ALIAS topics if needed.

Common Mistakes

  • Deleting “unused” parent topics that only held authority—children lose inherited policy.
  • Mixing test and prod under one admin branch without string prefix separation.
  • Setting CLUS on every leaf instead of one cluster administrative root—repository noise.
  • Assuming ADMINTOPIC replaces DEFINE SUB—subscriptions still required for delivery.

Explain Like I'm Five: Administrative Topics

An administrative topic is the sign on a big hallway that says “all classrooms down this hall follow the same rules.” The sign is not a classroom itself—kids still learn in specific rooms—but grown-ups know where the rules start.

Practice Exercises

Exercise 1

Design three-level admin chain: enterprise/domain/event for manufacturing.

Exercise 2

Write MQSC for parent with no TOPSTR leaf publishers—only two child leaves.

Exercise 3

List risks of granting +pub at enterprise/# for all developers.

Frequently Asked Questions

Frequently Asked Questions

Test Your Knowledge

Test Your Knowledge

1. Administrative topics primarily:

  • Structure branches and policy
  • Replace subscriber queues
  • Store persistent messages
  • Start channels

2. ADMINTOPIC links a topic to:

  • Its administering parent topic object
  • XMITQ name
  • Listener port
  • CCDT file

3. A parent topic with no publishers is valid when:

  • You need authority and defaults before leaves exist
  • MAXDEPTH is zero
  • CHLTYPE is RCVR
  • Queue is alias only

4. Messages for finance/payment/posted go to:

  • Subscriber DEST queues
  • Administrative topic object
  • Topic tree file on disk only
  • Cluster repository only
Published
Read time17 min
AuthorMainframeMaster
Verified: IBM MQ 9.3 documentation