The call to the administrator will create the QueueManager. Note that the QueueManager name is passed into the call. A QueueManager Hndl is returned.
if ( MQERETURN_OK == rc ) { MQeQueueManagerParms qmParams = QMGR_INIT_VAL; MQeRegistryParms regParams = REGISTRY_INIT_VAL; qmParams.hQueueStore = hQueueStore; qmParams.opFlags = QMGR_Q_STORE_OP; regParams.hBaseLocationName = hRegistryDir; display("Creating the Queue Manager\n"); rc = mqeAdministrator_QueueManager_create(hAdministrator, &exceptBlk, &hQueueManager, hLocalQMName, &qmParams, ®Params); }