+

Search Tips | Advanced Search

Queue manager definition commands

Cluster attributes that can be specified on 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)

We can provide additional cluster attributes on the ALTER QMGR command

    CLWLEXIT( name )
    Specifies the name of a user exit to be called when a message is put to a cluster queue.

    CLWLDATA( data )
    Specifies the data to be passed to the cluster workload user exit.

    CLWLLEN( length )
    Specifies the maximum amount of message data to be passed to the cluster workload user exit

    CLWLMRUC( channels )
    Specifies the maximum number of outbound cluster channels.
    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.

    CLWLUSEQ( LOCAL|ANY )
    Specifies the behavior of MQPUT when the target queue has both a local instance and at least one remote cluster instance. If the put originates from a cluster channel, this attribute does not apply. It is possible to specify CLWLUSEQ as both a queue attribute and a queue manager attribute.
    If you specify ANY, both the local queue and the remote queues are possible targets of the MQPUT.
    If you specify LOCAL, the local queue is the only target of the MQPUT.

The equivalent PCFs are MQCMD_CHANGE_Q_MGR and MQCMD_INQUIRE_Q_MGR.

Parent topic: IBM MQ cluster commands


Related concepts


Related reference

Last updated: 2020-10-04