#include <hmq.h> MQEVOID MQeConfigDeleteQMgr ( MQECHAR * pQMgrName, MQEINT32 * pCompCode, MQEINT32 * pReason);
#include <hmq.h> MQEHSESS hSess; MQEINT32 compcode, reason; MQEINT16 len; MQECHAR name[128]; hSess = MQeInitialize( "aSession", &compcode, &reason, ); len = MQeQMgrGetName( hSess, name, 128, &compcode, &reason); name[len] = '\0'; MQeConfigDeleteQMgr( name, &compcode, &reason, ); MQeConfigCreateQMgr( "MyOwnQMgr", &compcode, &reason, );