2217 (08A9) (RC2217): MQRC_CONNECTION_NOT_AUTHORIZED
Explanation
This reason code occurs only on z/OS®.
If the queue manager has been configured to use Advanced Message Security this reason code is returned if an error occurs in security processing.
This reason code might indicate a privacy security policy has been defined for the target queue that does not identify any recipients.
This reason code is also returned to CICS® applications if the CICS subsystem is not authorized to connect to the queue manager.
Completion Code
MQCC_FAILED
Programmer response
Ensure that the subsystem is authorized to connect to the queue manager.