IBM MQ objects

Queue managers define the properties of IBM® MQ objects. The values of these properties affect the way in which IBM MQ processes these objects. You create and manage objects using IBM MQ commands and interfaces. From your applications, you use the Message Queue Interface (MQI) to control objects. Objects are identified by an IBM MQ object descriptor (MQOD) when addressed from a program.

The administration of objects includes the following tasks:
  • Starting and stopping queue managers.
  • Creating objects, particularly queues, for applications.
  • Displaying or altering the attributes of objects.
  • Deleting objects.
  • Working with channels to create communication paths to queue managers on other (remote) systems.
  • Creating clusters of queue managers to simplify the overall administration process, and to balance workload.

With the exception of dynamic queues, objects must be defined to the queue manager before you can work with them.

When you use an IBM MQ command to carry out an object administration operation, the queue manager checks that you have the required level of authority to perform the operation. Similarly, when an application uses the MQOPEN call to open an object, the queue manager checks that the application has the required level of authority before it allows access to that object. The checks are made on the name of the object being opened.

You can define and manage objects by using the following methods:
You can also manage objects by using the following methods:

[z/OS]For sequences of IBM MQ for z/OS commands that you use regularly, you can write administration programs that create messages containing commands and that put these messages on the system-command input queue. The queue manager processes the messages on this queue in the same way that it processes commands entered from the command line or from the operations and control panels. This technique is described in the Writing programs to administer IBM MQ, and demonstrated in the Mail Manager sample application delivered with IBM MQ for z/OS. For a description of this sample, see Sample programs for IBM MQ for z/OS .

[IBM i]For sequences of IBM MQ for IBM i commands that you use regularly you can write CL programs. For more information, see Managing IBM MQ for IBM i using CL commands.

[UNIX, Linux, Windows]For sequences of IBM MQ commands on UNIX, Linux, and Windows, you can use the MQSC facility to run a series of commands held in a file. For more information, see Administration using MQSC commands.