Java™

//Set name of resource to be managed
try {
    MQeAdminMsg msg = (MQeAdminMsg) new MQeQueueManagerAdminMsg();
 
    msg.setName("ExampleQM");
 
    //Change the value of description
    parms = new MQeFields();
    Parms.putUnicode(MQeQueueManagerAdminMsg.QMgr_Description,
                    "Change description ...");
 
    //Set the action required and its parameters into the message
    msg.update(parms);
    } catch (Exception e) {
    System.err.println("Failure ! " + e.toString());
}

Terms of use | WebSphere software

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