Creating IBM MQ for IBM i objects
Use this information to understand the methods for creating IBM® MQ objects for IBM i.
Before you begin
About this task
There are two online methods to create IBM MQ objects, which are:
Procedure
- Using a Create command, for example: The Create MQM Queue command: CRTMQMQ
- Using a Work with MQM object command, followed by F6, for example: The Work with MQM Queues command: WRKMQMQ
What to do next
For a list of all commands see IBM MQ for IBM i CL commands.
Note: All MQM commands can be submitted from the Message Queue Manager Commands menu. To display
this menu, type
GO CMDMQM
on the command line and press the Enter
key. The system displays the prompt panel automatically when you select a command from this menu.
To display the prompt panel for a command that you have typed directly on the command line, press
F4
before pressing the Enter
key.
Creating a local queue using the CRTMQMQ command
Procedure
-
Type CHGMQM on the command line and press the
F4
key. -
On the Create MQM Queue panel, type the name of the queue that you want to
create in the
Queue name
field. To specify a mixed case name, you enclose the name in apostrophes. -
Type *LCL in the
Queue type
field. -
Specify a queue manager name, unless you are using the default queue manager, and press the
Enter
key. You can overtype any of the values with a new value. Scroll forward to see further fields. The options used for clusters are at the end of the list of options. -
When you have changed any values, press the
Enter
key to create the queue.
Creating a local queue using the WRKMQMQ command
Procedure
- Type WRKMQMQ on the command line.
- Enter the name of a queue manager.
-
If you want to display the prompt panel, press
F4
. The prompt panel is useful to reduce the number of queues displayed, by specifying a generic queue name or queue type. -
Press
Enter
and the Work with MQM Queues panel is displayed. You can overtype any of the values with a new value. Scroll forward to see further fields. The options used for clusters are at the end of the list of options. -
Press
F6
to create a new queue; this takes you to the CRTMQMQ panel. See Creating a local queue using the CRTMQMQ command for instructions on how to create the queue. When you have created the queue, the Work with MQM Queues panel is displayed again. The new queue is added to the list when you pressF5=Refresh
.
Altering queue manager attributes
About this task
jupiter.queue.manager
: Procedure
Type CHGMQM on the command line and press the
F4
key.