Task 16: Add the WebSphere MQ entries to the DB2 data-sharing group

 

If you are using queue-sharing groups, run the CSQ5PQSG utility to add queue-sharing group and queue manager entries to the WebSphere MQ tables in the DB2 data-sharing group. Run the utility for each queue-sharing group and each queue manager that is to be a member of a queue-sharing group. (CSQ5PQSG is described in the WebSphere MQ for z/OS System Administration Guide.)

You should perform the following actions in the specified order:

  1. Add a queue-sharing group entry into the WebSphere MQ DB2 tables using the ADD QSG function of the CSQ5PQSG program. A sample is provided in thlqual.SCSQPROC(CSQ45AQS).

    Perform this function once for each queue-sharing group that is defined in the DB2 data-sharing group. The queue-sharing group entry must exist before adding any queue manager entries that reference the queue-sharing group.

  2. Add a queue manager entry into the WebSphere MQ DB2 tables using the ADD QMGR function of the CSQ5PQSG program. A sample is provided in thlqual.SCSQPROC(CSQ45AQM).

    Perform this function for each queue manager that is to be a member of the queue-sharing group.

    Notes:

    1. A queue manager can only be a member of one queue-sharing group.

    2. You must have RRS running to be able to use queue-sharing groups.