Solved a “2058 (080A) (RC2058): MQRC_Q_MGR_NAME_ERROR” error when calling MQCONNX; My bad.
I forgot that both the Queue Manager name must be passed both as the pQMgrName parameter and as the ClientConnPtr (MQCD).QMgrName of the ConnectOpts (MQCNO) parameter to MQCONNX.
–jeroen