Java™

/* Create an empty queue admin message and parameters field */
MQeQueueAdminMsg msg = new MQeQueueAdminMsg();

/* Prime the message with who to reply to and a unique identifier 
/* and set the name of the QueueManager and Queue  */

/* Specify the alias of the queue to be removed */
msg.removeAlias( "Fred" );

/* Set the admin action to update the queue */
msg.update( parms );

Terms of use | WebSphere software

(c) Copyright IBM Corporation 2004, 2005. All rights reserved.