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 );

Parent topic: Delete a local queue