IBM SG24-6526-00 manual MQSeries, Creating a queue manager

Models: SG24-6526-00

1 184
Download 184 pages 3.35 Kb
Page 100
Image 100

4.2.6 MQSeries

This section explains how to set up MQSeries for vendor.connect.

Creating a queue manager

You must first create a queue manager:

1.Enter the following command:

WRKMQM

If a default queue manager doesn't already exist, create one using the following command:

CRTMQM MQMNAME(VCQM) TEXT('vendor.connect queue manager') DFTQMGR(*YES)

Alternatively, press F6 on the WRKMQM display. You must create your queue manager as the default. You cannot change this at a later date. AIF database triggering only works with the default. We recommend that you call the queue manager the same name as the iSeries name, but it is not required.

2.Grant authorization to the MQSeries Manager by using the following command:

GRTMQMAUT OBJ(VCQM) OBJTYPE(*MQM) USER(*PUBLIC) AUT(*ALL)

3.On the WRKMQM display, select option 14 (Start the Work Queue Manager).

4.On the next display, select option 20 (Work with Channels).

5.On the Work with Channels display, create new channels with the following command:

CRTMQMCHL CHLNAME(WM.TRIGGER.CHL) CHLTYPE(*SVRCN) TRPTYPE(*TCP). CRTMQMCHL CHLNAME(AIF.TRIGGER.CHL) CHLTYPE(*SVRCN) TRPTYPE(*TCP).

Alternatively, you can press F6 from the Work with Channels display.

6.Create new queues as follows:

CRTMQMQ QNAME(AIF.TRIGGER.OUT) QTYPE(*LCL) MQMNAME(*DFT) CRTMQMQ QNAME(WM.TRIGGER.OUT) QTYPE(*LCL) MQMNAME(*DFT) CRTMQMQ QNAME(WM.TRIGGER.OUT1) QTYPE(*LCL) MQMNAME(*DFT)

7.Grant authority to all the queues with the command:

GRTMQMAUT OBJ(queue name above) OBJTYPE(*Q) USER(*PUBLIC) AUT(*ALL) MQMNAME(*DFT)

Alternatively from WRKMQM, select option 18 (Work with queues) and press F6.

To ensure that MQSeries is automatically restarted if the machine is shut down for any reason, change the machine’s IPL procedure to include the following commands:

STRSBS SBSD(QMQM/QMQM)

STRMQM

STRMQMCSVR

STRMQMLSR

Note that because the commerce.platform software currently only works with the MQSeries queue manager set as the default queue manager, no parameters are needed for the STRMQMxxx commands.

If all the subsystems are routinely taken down for backups, etc., then you must update the subsystems restart to also execute the previous four commands.

88Geac System21 commerce.connect: Implementation on the iSeries Server

Page 100
Image 100
IBM SG24-6526-00 manual MQSeries, Creating a queue manager