IBM MQ commands

Use the IBM® MQ commands to work with messaging features.

Using commands

To use the IBM MQ commands, connect to the appliance as described in Command line access.

You must enter MQ administration mode before issuing commands. To enter MQ administration mode, type mqcli on the command line. You see the prompt mqa(mqcli)#.

Command help

The supported IBM MQ commands can be viewed on the command line. These commands are divided into categories, including administration commands, diagnosis commands, user commands, and certificate commands. To view a list of the available categories, enter the following command from the IBM MQ administration mode:

help
To view the commands that are in a specific category, enter the following command from the IBM MQ administration mode:

help category
To view detailed help about a particular command, enter one of the following commands from the IBM MQ administration mode:
  • help commandName
  • ? commandName
where commandName is the name of the command that you want to view the help for.

The command descriptions in the following topics use railroad diagrams for command syntax. for an explanation of how to use these diagrams, see Railroad diagrams.