IBM MQ Control commands

Find out how to use the IBM® MQ control commands.

If you want to issue control commands, your user ID must be a member of the mqm group. For more information, see Authority to administer IBM MQ on UNIX, Linux®, and Windows systems.

When using control commands that operate on a queue manager configured to use connection authentication with CHCKLOCL(REQUIRED), and a failure to connect is observed, either
  • Supply a user id and password if the control command allows this.
  • Use MQSC equivalents of the control commands where those exist.
  • Start the queue manager using the -ns option, while control commands that cannot connect need to be run.

When using control commands that operate on a queue manager, you must use the command from the installation associated with the queue manager you are working with.

In addition, note the following environment-specific information:
  • On Windows, all control commands can be issued from a command line. Command names and their flags are not case-sensitive: you can enter them in uppercase, lowercase, or a combination of uppercase and lowercase. However, arguments to control commands (such as queue names) are case-sensitive.

    In the syntax descriptions, the hyphen (-) is used as a flag indicator. You can use the forward slash (/) instead of the hyphen.

  • On UNIX and Linux systems, all IBM MQ control commands can be issued from a shell. All commands are case-sensitive.
  • A subset of the control commands can be issued using the IBM MQ Explorer.

For a list of the control commands see, The control commands.

For a comparison of the different administration command sets, see Comparing command sets.

For information about commands for managing keys and certificates, see Managing keys and certificates.