[z/OS]

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.

If you are using Advanced Message Security, check the queue manager and AMS task error logs. You should also check the job log of the connecting task for error messages.