Websphere MQ for beginners: What are Types of Websphere MQ commands we commonly use ?

MQI COMMANDS: 

MQI Commands are of three types.

• CONTROL COMMANDS
• SCRIPT COMMANDS
• PCF (programmable command format) COMMANDS.

CONTROL COMMANDS:  (case sensitive)

• Dspmqver :  to display MQ version
• Dspmq :  to view all queue managers of MQ.
• Crtmqm :  to create a queue manager
• Strmqm :  to start queue manager
• Runmqsc :  to enter in to particular queue manager
• Endmqm :  to end a queue manager
• Dltmqm :  to delete a queue manager
• Dspmqcsv :  to display command server
• Endmqcsv :  to end command server
• Strmqcsv :  to start command server
• Runmqlsr :  to run listener service
• Endmqlsr :  to end listener service
• Runmqchl :  to run a channel out of queue manager
• Runmqdlq :  to execute dead letter handle with the help of rule table
• Setmqaut :  to set authorizations for particular objects like queuemanager,queue’s channels,
                     listeners to user or group
• Dspmqaut :  to display authorization for particular user
• Dmpmqaut :  to dump authorization for particular user
• Runmqchi :  to run a channel initiator for particular queue manager
• Runmqtrm :  to run trigger monitor on initiation queue for particular queue manager
• Rcdmqimg :  to take objects (or) record image of a particular queue manager objects
• Rcrmqobj :  to recreate the mq objects which are already recorded

SCRIPT COMMANDS:

After entering in to queue manager we can find script commands. Script commands are same
for every queue manager. (These Commands should be used in CAPITAL LETTERS)

• DEFINE :  To define/create MQ manager objects like queue, Channels, process, and listener.
• ALTER :  to update or modify the existing objects
• DISPLAY :  to view all the properties of a particular object or to Display all objects
• DELETE :  to delete created objects
• CLEAR :  to clear the message from the queue
• END :  to come out of the queue manager
• PING :  to check whether other side channel / queue manager is ready to accept our request.
• START :   to start the particular channel or listener
• STOP :  to stop particular channel or listener
• REFRESH :  used to refresh the security every time after giving or executing, set mgr or
  command for queue manager or object
• RESET :  used to reset channel,cluster,queue manager
• RESOLVE :  to resolve the channel which is in indoubt state
• SUSPEND :  to suspend a queue manager from a cluster environment

• RESUME :  to remove a queue manager from a cluster environment

Comments