Home

 

Queue-manager definition commands

 

To specify that a queue manager holds a full repository for a cluster, use the ALTER QMGR command specifying the attribute REPOS(clustername). To specify a list of several cluster names, define a cluster namelist and then use the attribute REPOSNL(namelist) on the ALTER QMGR command:

DEFINE NAMELIST(CLUSTERLIST)
       DESCR('List of clusters whose repositories I host')
       NAMES(CLUS1, CLUS2, CLUS3)
 
ALTER QMGR REPOSNL(CLUSTERLIST)

Use the CLWLEXIT(name) attribute to specify the name of a user exit to be called when a message is put to a cluster queue. Use the CLWLDATA(data) attribute to specify data to be passed to the cluster workload user exit. Use the CLWLLEN(length) attribute to specify the maximum amount of message data to be passed to the cluster workload user exit.

To specify the maximum number of outbound cluster channels, use the CLWLMRUC queue manager attribute. CLWLMRUC is a local queue manager attribute that is not propagated around the cluster. It is made available to cluster workload exits and the cluster workload algorithm that chooses the destination for messages.

To specify the behavior of a put when the target queue has both a local instance and at least one remote cluster instance, use the CLWLUSEQ attribute. If the put originates from a cluster channel, this attribute does not apply. If you specify ANY, both the local queue and the remote queues are possible targets of the put. If you specify LOCAL, the local queue is the only target of the put. It is possible to specify CLWLUSEQ as both a queue attribute and a queue manager attribute. See Queue definition commands for more details.

The attributes on the ALTER QMGR command also apply to the DISPLAY QMGR command.

For full details of the attributes and syntax of the ALTER QMGR command and the DISPLAY QMGR command, refer to the WebSphere MQ Script (MQSC) Command Reference book.

The equivalent PCFs are MQCMD_CHANGE_Q_MGR and MQCMD_INQUIRE_Q_MGR. These are described in the WebSphere MQ Programmable Command Formats and Administration Interface book.

 

Parent topic:

MQSC command attributes


qc11120_


 

Home