Manage IBM MQ for IBM i using CL commands
Use this information to understand the IBM MQ IBM i commands.
Most groups of IBM MQ commands, including those associated with queue managers, queues, topics, channels, namelists, process definitions, and authentication information objects can be accessed using the relevant WRK* command.
The principal command in the set is WRKMQM. This command allows you, for example, to display a list of all the queue managers on the system, together with status information. Alternatively, we can process all queue manager specific commands using various options against each entry.
From the WRKMQM command we can select specific areas of each queue manager, for example, working with channels, topics or queues, and from there select individual objects.
Recording IBM MQ application definitions
When you create or customize IBM MQ applications, it is useful to keep a record of all IBM MQ definitions created. This record can be used for:
- Recovery purposes
- Maintenance
- Rolling out IBM MQ applications
We can record IBM MQ application definitions in 1 of 2 ways:
- Create CL programs to generate the IBM MQ definitions for the server.
- Create MQSC text files as SRC members to generate the IBM MQ definitions using the cross-platform IBM MQ command language.
For further details about defining queue objects, see Administration using MQSC commands and Use IBM MQ Programmable Command Formats.
- Before you start using the IBM MQ for IBM i using CL commands
Use this information to start the IBM MQ subsystem and create a local queue manager.- Create IBM MQ for IBM i objects
Use this information to understand the methods for creating IBM MQ objects for IBM i.- Work with local queues on IBM i
This section contains examples of some of the commands used to manage local queues. All the commands shown are also available using options from the WRKMQMQ command panel.- Work with alias queues on IBM i
This section contains examples of some of the commands used to manage alias queues. All the commands shown are also available using options from the WRKMQMQ command panel.- Work with model queues on IBM i
This section contains examples of some of the commands used to manage model queues. All the commands shown are also available using options from the WRKMQMQ command panel.- Work with triggering on IBM i
Use this information to learn about triggering and process definitions.- Communicating between two IBM MQsystems on IBM i
This coding example illustrates how to set up two IBM MQ for IBM i systems, using CL commands, so that they can communicate with each other.- Sample resource definitions on IBM i
This sample contains the AMQSAMP4 sample IBM i CL program.Parent topic: Administer IBM MQ for IBM i
Related information