On both CHICAGO and CHICAGO2, modify the local queue definition for the queue INVENTQ to remove the queue from the cluster. To do this, issue the command:
ALTER QLOCAL(INVENTQ) CLUSTER(' ')
When you do this, the information in the full repositories is updated and propagated throughout the cluster. Active applications using MQOO_BIND_NOT_FIXED, and applications using MQOO_BIND_AS_Q_DEF where the queue has been defined with DEFBIND(NOTFIXED), fail on the next attempted MQPUT or MQPUT1 call. The reason code MQRC_UNKNOWN_OBJECT_NAME is returned.
You do not have to perform Step 1 first, but if you don't, perform it instead after Step 4.
Stop all applications that have access to cluster queues. If you do not, some cluster information might remain on the local queue manager when you refresh the cluster in Step 5. This information is removed when all applications have stopped and the cluster channels have disconnected.
On both CHICAGO and CHICAGO2, modify the queue manager definitions to remove the repository attribute. To do this issue the command:
ALTER QMGR REPOS(' ')
The queue managers inform the other queue managers in the cluster that they no longer hold the full repositories. When the other queue managers receive this information, you will see a message indicating that the full repository has ended, and one or more messages indicating that there are no longer any repositories available for the cluster CHAINSTORE.
On CHICAGO remove the cluster channels:
ALTER CHANNEL(TO.CHICAGO2) CHLTYPE(CLUSSDR) CLUSTER(' ') ALTER CHANNEL(TO.CHICAGO) CHLTYPE(CLUSRCVR) CLUSTER(' ')
You will see messages indicating that there are no repositories for the cluster CHAINSTORE.
If you did not remove the cluster queues as described in Step 1, you should do so now.
On CHICAGO remove the cluster information held in the queue manager's full repository with the command:
REFRESH CLUSTER(CHAINSTORE) REPOS(YES)
All cluster information about the cluster CHAINSTORE is now removed from the queue manager. If cluster channels are still active, information regarding these channels remains in the queue manager's partial repository until the channel is stopped.
Remove all definitions for cluster channels and cluster queues from each queue manager and issue the REFRESH CLUSTER command.
So that the network can continue to function, replace the remote queue definition for the INVENTQ at every queue manager.
Delete any queue or channel definitions no longer required.
Notices |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
csqzah0763 |