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

Parent topic: Update