Managing 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:We can record IBM MQ application definitions in 1 of 2 ways:
- Recovery purposes
- Maintenance
- Rolling out IBM MQ applications
- Creating CL programs to generate your IBM MQ definitions for the server.
- Creating MQSC text files as SRC members to generate your IBM MQ definitions using the cross-platform IBM MQ command language.
For further details about defining queue objects, see Script (MQSC) commands and Use IBM MQ Programmable Command Formats.