List alias names

Java

In Java, queue manager aliases are manipulated using the MQeConnectionAdminMsg. Refer to the Connection section for more information.

C API

Lists all aliases, into a new MQeVector. These are the Alias names. Note the vector being freed, its contents will automatically be freed.

MQeVectorHndl hAliasList;
 
rc = mqeAdministrator_QueueManager_listAliasNames(hAdministrator,
                                                 &exceptBlk,
                                                 &hAliasList);
if (MQERETURN_OK == rc) {
   /* do processing */
   rc = mqeVector_free(hAliasList,&exceptBlk);
}


© IBM Corporation 2002. All Rights Reserved