Java™

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

MQeFields parms = new MQeFields();

/** Prime message with who to reply to and a unique identifier */

/*  Set name of queue to manage */
msg.setName( qMgrName, queueName );

/* Set the admin action to create a new queue */
msg.delete( parms );

Terms of use | WebSphere software

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