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: On an 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.
Event type: Authority.
Event queue: SYSTEM.ADMIN.QMGR.EVENT.

 

Event data

QMgrName

Description: Name of the queue manager generating the event.
Identifier: MQCA_Q_MGR_NAME.
Datatype: MQCFST.
Maximum length: MQ_Q_MGR_NAME_LENGTH.
Returned: Always.

ReasonQualifier

Description: Identifier for type 3 authority events.
Identifier: MQIACF_REASON_QUALIFIER.
Datatype: MQCFIN.
Values:

MQRQ_CLOSE_NOT_AUTHORIZED
Close not authorized.
Returned: Always.

QName

Description: Object name from object descriptor (MQOD).
Identifier: MQCA_Q_NAME.
Datatype: MQCFST.
Maximum length: MQ_Q_NAME_LENGTH.
Returned: Always.

UserIdentifier

Description: User identifier that caused the authorization check.
Identifier: MQCACF_USER_IDENTIFIER.
Datatype: MQCFST.
Maximum length: MQ_USER_ID_LENGTH.
Returned: Always.

ApplType

Description: Type of application causing the authorization check.
Identifier: MQIA_APPL_TYPE.
Datatype: MQCFIN.
Returned: Always.

ApplName

Description: Name of the application causing the authorization check.
Identifier: MQCACF_APPL_NAME.
Datatype: MQCFST.
Maximum length: MQ_APPL_NAME_LENGTH.
Returned: Always.

Note:
If the application is a server for clients, the ApplType and ApplName parameters identify the server, not the client.