Configuring the Adapter for MQSeries

In this section:

How to:

x

You can configure the Adapter for MQSeries from the Web Console or the Data Management Console.

If you plan to create a synonym manually, you must also first issue a FILEDEF command.


Top of page

x
Procedure: How to Configure the Adapter

You can configure the adapter from either the Web Console or the Data Management Console.

  1. From the Web Console menu bar, click Adapters.

    or

    From the Data Management Console, expand the Adapters folder.

    The Adapters folder opens.

  2. Expand the Available folder, if it is not already expanded.
  3. Expand the appropriate group folder and the specific adapter folder. The group folder is described in the connection attributes reference.
  4. Right-click the adapter name and/or version and select Configure.

    The Add Adapter to Configuration pane opens.

  5. Enter values for the parameters required by the adapter, as described in the connecton attributes reference.
  6. Click Configure. The configured adapter is added to the Adapters list in the navigation pane.

Note: The MQSeries adapter is under the Sequential and Indexed group folder. No input parameters are required.


Top of page

x
Issuing a FILEDEF Command

How to:

If you plan to create a synonym manually, you must first issue a FILEDEF command.

Because a queue in MQSeries can be viewed as a sequential file, the server uses the logical layer of a flat file interface. In order to distinguish between sequential file storage types and MQSeries storage types, you must issue the FILEDEF command prior to any read/write request against MQSeries. FILEDEF is used to provide definitions for the queue manager, the queue name, and the optional message ID to the MQI layer.



x
Syntax: How to Issue the FILEDEF Command
FILEDEF master QMAN queuemgr QUEUE queuename [MSGID msg_id]

where:

master

Is the Master File name used to provide the dynamic definitions of the queue manager, the queue, and the optional message ID.

queuemgr

Is the name of the queue manager.

queuename

Is the name of the queue.

msg_id

Is the optional parameter used when producing messages in a queue that are defined outside of the program assigned message ID.


iWay Software