[IBM i]

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, you can process all queue manager specific commands using various options against each entry.

From the WRKMQM command you 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
You can record IBM MQ application definitions in 1 of 2 ways:
  1. Creating CL programs to generate your IBM MQ definitions for the server.
  2. 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 Administration using MQSC commands and Using IBM MQ Programmable Command Formats.