Limited supportBMC provides limited support for this version of the product. As a result, BMC no longer accepts comments in this space. If you encounter problems with the product version or the space, contact BMC Support.BMC recommends upgrading to the latest version of the product. To see documentation for that version, see BMC AMI Ops Monitor for MQ 5.6.

Using QMM


You can run any QMM command in batch by using sample JCL provided in the BBSAMP data set. Member $QMMINDX contains a list and description of each sample member.

The QMM command line interface allows you to build and execute commands and batch files to manageMQ messages that reside on a local host on which either MainView for MQ or BMC Performance Manager forMQ is installed. For more information, see the BMC MQ Message Management Command Line Interface Reference Manual.

Note

You can also use the JOB line command on the LQ view to create a QMM batch job from within MainView for MQ. For more information, see the online Help for the LQ view.

The following example is a sample run that sets the queue manager, looks at specific queues in CSQ1, displays specific messages on a queue, and displays the message.

-------------------MQ Performance and Control -------------------

Option  ===> 4

1  MVMQS     MainView for MQ
2  MQSC      MQSC operator command z/OS QMGR ==>
3  MVBATCH   Generate MainView batch reports
4  QMM       Message Management
5  MTA       Mainview Transaction Analyzer

General Services
M  MESSAGES  Display Messages and Codes
N  NOTES     Release Notes

                  Copyright 2003-2014 BMC Software, Inc.
BMCQMM792E PWSMQ - Message Management: CPU AUTHORIZATION FAILURE IN PHASE 1, RC=0004                                                                           

PATROL for MQ - Message Management V4.2.00 (built June 15, 2004)                 

QMM command:
set qmgr CSQ1

BMCQMM200I SET command completed with condition code 0

QMM command:
dis *:test* q

Match           Msgs Queue          Queue Manager
   0            0 TEST.LOCALQ         CSQ1
   3            3 TEST.QUEUE          CSQ1
   0            0 TEST.QUEUE1         CSQ1
  70           70 TEST.QUEUE100       CSQ1
ALIASQ         70TEST.QUEUE100.ALIAS  CSQ1
   0           0 TEST.QUEUE11         CSQ1
   0           0 TEST.QUEUE2          CSQ1
   9           9 TEST.QUEUE99         CSQ1

BMCQMM200I DIS command completed with condition code 0

QMM command:
DISPLAY test.queue100 sel mqstr detail where _msgnum  =  53

Queue: TEST.QUEUE100                   Queue manager: CSQ1                   

Message text  . . . . . . . . . . . . . . . :                                 
HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH         

QMM command:
exit

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*