title: Use mq client to get Alias Queue's base object queue name
body: <p>I have MQ client code that can browse an Alias Queue to get the Alias Queue's base object name (i.e. the name of the Local Queue which the Alias Queue points to). However, the code only works when the MQ client connects to an MQ Manager running on the same host as the client code but NOT when the client code connects to an MQ Manager on a remote host.</p>
  
  <p>Client Code:</p>
  
  <pre><code>MQEnvironment.hostname = "192.168.1.3";
  MQEnvironment.port = "1415";
  MQEnvironment.channel = "ADMIN.SVRCONN";
  
  MQQueueManager mqQueueManager = new MQQueueManager(null);
  
  int openOptions = CMQC.MQOO_BROWSE;// + CMQC.MQOO_RESOLVE_LOCAL_Q;
  
  MQQueue mqQueue = mqQueueManager.accessQueue("AN.ALIAS.QUEUE.NAME", openOptions);
  
  String resolvedName = mqQueue.getResolvedQName();
  
  // resolvedName is null when the MQ Manager is on a remote host 
  System.out.println("Resolved Queue Name: " + resolvedName);
  </code></pre>
  
  <p>When the resolved queue name of the Alias Queue is null, the MQ Manager's error logs shows the following single entry:</p>
  
  <pre><code>AMQ9208: Error on receive from host devlaptop (192.168.1.5).
  
  EXPLANATION:
  An error occurred receiving data from devlaptop (192.168.1.5) over TCP/IP.
  This may be due to a communications failure.
  ACTION:
  The return code from the TCP/IP (recv) call was 10054 (X'2746'). Record these
  values and tell the systems administrator. 
  </code></pre>
  
  <p>Should it be possible for client code to get a remote MQ Manager's Alias Queue's base object name? And if so, how? Am I missing remote permissions somewhere? Or are my client code <code>openOptions</code> wrong?</p>
  
  <p>NOTE: The Alias Queue or any other queues in the Queue Managers are NOT clustered.</p>