Home

 

RemoteQMgrName (MQCHAR48)

Local Model Alias Remote Cluster
No No No Yes No

This is the name of the remote queue manager on which the queue RemoteQName is defined. If the RemoteQName queue has a QSGDisp value of MQQSGD_COPY or MQQSGD_SHARED, RemoteQMgrName can be the name of the queue-sharing group that owns RemoteQName.

If an application opens the local definition of a remote queue, RemoteQMgrName must not be blank and must not be the name of the local queue manager. If XmitQName is blank, the local queue whose name is the same as RemoteQMgrName is used as the transmission queue. If there is no queue with the name RemoteQMgrName, the queue identified by the DefXmitQName queue-manager attribute is used.

If this definition is used for a queue-manager alias, RemoteQMgrName is the name of the queue manager that is being aliased. It can be the name of the local queue manager. Otherwise, if XmitQName is blank when the open occurs, there must be a local queue whose name is the same as RemoteQMgrName; this queue is used as the transmission queue.

If this definition is used for a reply-to alias, this name is the name of the queue manager that is to be the ReplyToQMgr.

Note:
No validation is performed on the value specified for this attribute when the queue definition is created or modified.

To determine the value of this attribute, use the MQCA_REMOTE_Q_MGR_NAME selector with the MQINQ call. The length of this attribute is given by MQ_Q_MGR_NAME_LENGTH.



 

Home