Note that options where the value contains spaces or exclamation marks ! should be quoted. On Windows, a double quote (") should be used and on UNIX platforms a single quote (').
repomgr –p BMCSOFTWARE --query-monitored --query-type-name "ComMQSoftwareWebSphereMQLocalQueue" --action-show SA
repomgr –p BMCSOFTWARE --query-objects --query-type-path "ComMQSoftwareNetworkHost!ComMQSoftwareWebSphereMQQueueManager" --action-show SA
Show all queues whose stable attributes have been changed after the first of the year and still exist (confirmed)
repomgr –p BMCSOFTWARE --query-changed-after "2014-01-01 00:00:00" --query-state confirmed --query-type-name "ComMQSoftwareWebShereLocalQueue" --action-show SA
Mark all queues under the agent TEST1 AND queue manager QM1 as not found if they have not been confirmed in the last hour (3600 seconds)
repomgr –p BMCSOFTWARE --query-path-prefix "TEST1!QM1" --query-type-name "ComMQSoftwareWebSphereMQLocalQueue" --action-not-found 3600 SA
Register a local queue named Q1 on an agent named TEST1 and queue manger named QM1
repomgr -p BMCSOFTWARE --query-path-prefix "TEST1!QM1!Q1" --query-type-name "ComMQSoftwareWebSphereMQLocalQueue" --action-register SA
Get the oid of a local queue named Q1 on an agent named TEST1 and queue manger named QM1
repomgr -p BMCSOFTWARE --query-path-prefix "TEST1!QM11!Q1" --query-type-name "ComMQSoftwareWebSphereMQLocalQueue" --action-show --show-oid SA
repomgr -p BMCSOFTWARE --object-unregister "1_56_41" SA
repomgr -p BMCSOFTWARE --discover-inst-path "TEST1!QM1" --discover-type-path "ComMQSoftwareNetworkHost!ComMQSoftwareWebSphereMQQueueManager" SA
repomgr -p BMCSOFTWARE --discover-inst-path "TEST1!*" --discover-type-path "ComMQSoftwareNetworkHost!ComMQSoftwareWebSphereMQQueueManager" SA
repomgr -p BMCSOFTWARE --discover-agent "TEST1" SA
repomgr -p BMCSOFTWARE --results-show SA
repomgr -p BMCSOFTWARE --results-clear SA