Java™

/* Create an empty store and forward queue admin message and parameters field */

MQeStoreAndForwardQueueAdminMsg msg = new MQeStoreAndForwardQueueAdminMsg ();

MQeFields parms = new MQeFields();

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

primeAdminMsg(msg);

/* Set name of queue to manage */

msg.setName(qMgrName, queueName);

/* Add any characteristics of queue here that you want to inquire.*/

parms.putAsciiArray(MQeStoreAndForwardQueueAdminMsg.Queue_QMgrNameList,
                    new String[0]);

/* Set the admin action to inquire */

msg.inquire(parms);

Terms of use | WebSphere software

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