Not Authorized (type 2)
Event name: Not Authorized (type 2). Reason code in MQCFH: MQRC_NOT_AUTHORIZED (2035, X'7F3').
Not authorized for access.
Event description: On an MQOPEN or MQPUT1 call, the user is not authorized to open the object for the options specified. 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 2 authority events. Identifier: MQIACF_REASON_QUALIFIER. Datatype: MQCFIN. Values:
- MQRQ_OPEN_NOT_AUTHORIZED
- Open not authorized.
Returned: Always.
- Options
Description: Options specified on the MQOPEN call. Identifier: MQIACF_OPEN_OPTIONS. Datatype: MQCFIN. 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 that caused the authorization check. Identifier: MQIA_APPL_TYPE. Datatype: MQCFIN. Returned: Always.
- ApplName
Description: Name of the application that caused the authorization check. Identifier: MQCACF_APPL_NAME. Datatype: MQCFST. Maximum length: MQ_APPL_NAME_LENGTH. Returned: Always.
- ObjectQMgrName
Description: Object queue manager name from object descriptor (MQOD). Identifier: MQCACF_OBJECT_Q_MGR_NAME. Datatype: MQCFST. Maximum length: MQ_Q_MGR_NAME_LENGTH. Returned: If the ObjectQMgrName in the object descriptor (MQOD) when the object was opened is not the queue manager currently connected.
- QName
Description: Object name from object descriptor (MQOD). Identifier: MQCA_Q_NAME. Datatype: MQCFST. Maximum length: MQ_Q_NAME_LENGTH. Returned: If the object opened is not a process object.
- ProcessName
Description: Name of process object from object descriptor (MQOD). Identifier: MQCA_PROCESS_NAME. Datatype: MQCFST. Maximum length: MQ_PROCESS_NAME_LENGTH. Returned: If the object opened is a process object.
- Note:
- If the application is a server for clients, the ApplType and ApplName parameters identify the server, not the client.