Not Authorized (type 3)
Event name: | Not Authorized (type 3). |
Reason code in MQCFH: |
MQRC_NOT_AUTHORIZED (2035, X'7F3'). Not authorized for access. |
Event description: | When closing a queue using the MQCLOSE call, the user is not authorized to delete the object, which is a permanent dynamic queue, and the Hobj parameter specified on the MQCLOSE call is not the handle returned by the MQOPEN call that created the queue.
When closing a subscription using an MQCLOSE call, the user has requested that the subscription is removed using the MQCO_REMOVE_SUB option, but the user is not the creator of the subscription or does not have sub authority on the topic associated with the subscription. |
Event type: | Authority. |
Platforms: | All, except IBM MQ for z/OSĀ®. |
Event queue: | SYSTEM.ADMIN.QMGR.EVENT. |
Event data
- QMgrName
-
Description: Name of the queue manager generating the event. Identifier: MQCA_Q_MGR_NAME. Data type: MQCFST. Maximum length: MQ_Q_MGR_NAME_LENGTH. Returned: Always. - ReasonQualifier
-
Description: Identifier for type 3 authority events. Identifier: MQIACF_REASON_QUALIFIER. Data type: MQCFIN. Values: - MQRQ_CLOSE_NOT_AUTHORIZED
- Close not authorized.
Returned: Always. - UserIdentifier
-
Description: User identifier that caused the authorization check Identifier: MQCACF_USER_IDENTIFIER Data type: MQCFST. Maximum length: MQ_USER_ID_LENGTH. Returned: Always. - ApplType
-
Description: Type of application causing the authorization check. Identifier: MQIA_APPL_TYPE. Data type: MQCFIN. Returned: Always. - ApplName
-
Description: Name of the application causing the authorization check. Identifier: MQCACF_APPL_NAME. Data type: MQCFST. Maximum length: MQ_APPL_NAME_LENGTH. Returned: Always. - QName
-
Description: Object name from object descriptor (MQOD). Identifier: MQCA_Q_NAME. Data type: MQCFST. Maximum length: MQ_Q_NAME_LENGTH. Returned: If the handle being closed is a queue - SubName
-
Description: Name of subscription being removed. Identifier: MQCACF_SUB_NAME. Data type: MQCFST. Maximum length: MQ_SUB_NAME_LENGTH. Returned: If the handle being closed is a subscription. - TopicString
-
Description: Topic string of the subscription. Identifier: MQCA_TOPIC_STRING Data type: MQCFST. Maximum length: MQ_TOPIC_STR_LENGTH. Returned: If the handle being closed is a subscription. - AdminTopicNames
-
Description: List of topic administration objects against which authority was checked. Identifier: MQCA_ADMIN_TOPIC_NAME Data type: MQCFSL. Maximum length: MQ_TOPIC_NAME_LENGTH. Returned: If the handle being closed is a subscription. - ConnName
-
Description: Connection name for client connection. Identifier: MQCACH_CONNECTION_NAME. Data type: MQCFST. Maximum length: MQ_CONN_NAME_LENGTH. Returned: If the application making the MQI call that caused the event is a client attached application. - ChannelName
-
Description: Channel name for client connection. Identifier: MQCACH_CHANNEL_NAME. Data type: MQCFST. Maximum length: MQ_CHANNEL_NAME_LENGTH Returned: If the application making the MQI call that caused the event is a client attached application.