Working with MQSeries

2.On the CRTMQM panel, type in a Message Queue Manager name, for example TEST.QMANAGER and press Enter.

The name of the queue manager can be a maximum of 48 characters in length. Valid characters are detailed in MQSeries for AS/400 V5.1 System Administration book.

The queue manager is then created, along with a set of default objects.

Starting a Queue Manager

Start the queue manager from the command line by issuing the command:

STRMQM MQMNAME(QMGRNAME)

where QMGRNAME is the name of the queue manager that you have just created.

After a short period you receive the message Message Queue Manager started.

Creating a Local Queue

To create a local queue:

1.Type CRTMQMQ on the command line and press F4. This displays the following panel:

Create MQM Queue (CRTMQMQ)

Type choices, press Enter.

 

Queue name

__________________________________________

_____

 

Queue type

*ALS, *LCL, *MDL, *RMT

Message Queue Manager name . . .

*DFT______________________________________

_____

 

Bottom

F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display

F24=More keys

Parameter QNAME required.

Figure 2. CRTMQMQ panel (part 1)

2.On the Create MQM Queue panel, type the name of the queue you want to create in the Queue name field. For example TEST.QUEUE. To specify a mixed-case name, enclose the name in apostrophes.

3.Type *LCL in the Queue type field.

38MQSeries for AS/400, V5.1 Quick Beginnings

Page 50
Image 50
IBM GC34-5557-00 manual Starting a Queue Manager, Creating a Local Queue