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.
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 2 authority events.
    Identifier: MQIACF_REASON_QUALIFIER.
    Data type: MQCFIN.
    Values: MQRQ_OPEN_NOT_AUTHORIZED Open not authorized.
    Returned: Always.

    Options

    Description: Options specified on the MQOPEN call.
    Identifier: MQIACF_OPEN_OPTIONS.
    Data type: MQCFIN.
    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 that caused the authorization check.
    Identifier: MQIA_APPL_TYPE.
    Data type: MQCFIN.
    Returned: Always.

    ApplName

    Description: Name of the application that caused the authorization check.
    Identifier: MQCACF_APPL_NAME.
    Data type: 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.
    Data type: 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.
    Data type: MQCFST.
    Maximum length: MQ_Q_NAME_LENGTH.
    Returned: If the object opened is a queue object.

    ProcessName

    Description: Name of process object from object descriptor (MQOD).
    Identifier: MQCA_PROCESS_NAME.
    Data type: MQCFST.
    Maximum length: MQ_PROCESS_NAME_LENGTH.
    Returned: If the object opened is a process object.

    TopicString

    Description: Topic string being subscribed to, or opened.
    Identifier: MQCA_TOPIC_STRING.
    Data type: MQCFST.
    Maximum length: MQ_TOPIC_STR_LENGTH.
    Returned: If the object opened is a topic object.

    AdminTopicNames

    Description: List of topic admin objects against which authority is checked.
    Identifier: MQCA_ADMIN_TOPIC_NAME.
    Data type: MQCFSL.
    Maximum length: MQ_TOPIC_NAME_LENGTH.
    Returned: If the object opened is a topic object.

    ObjectType

    Description: Object type from object descriptor (MQOD).
    Identifier: MQIACF_OBJECT_TYPE.
    Data type: MQCFIN.
    Values: MQOT_NAMELIST Namelist.
    MQOT_PROCESS Process.
    MQOT_Q Queue.
    MQOT_Q_MGR Queue manager.
    MQOT_TOPIC Topic.
    Returned: Always.

    NamelistName

    Description: Object name from object descriptor (MQOD).
    Identifier: MQCA_NAMELIST_NAME.
    Data type: MQCFST.
    Maximum length: MQ_NAMELIST_NAME_LENGTH.
    Returned: If the object opened is a namelist object.

    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.

Parent topic: Event message descriptions