RemoteQMgrName (48-byte character string)

Name of remote queue manager.

Local Model Alias Remote Cluster
      Y  

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 QSGDCP or QSGDSH, 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 which is to be the MDRM.

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 CARQMN selector with the MQINQ call. The length of this attribute is given by LNQMN.