Event data
The event data consists of two groups, CommandContext and CommandData.
- CommandContext
Description: PCF group containing the elements related to the context of the issued command. Identifier: MQGACF_COMMAND_CONTEXT. Datatype: MQCFGR. PCF elements in group:
- EventUserId
- EventOrigin
- EventQMgr
- EventAccountingToken
- EventIdentityData
- EventApplType
- EventApplName
- EventApplOrigin
- Command
Returned: Always. - EventUserId
Description: The user id that issued the command or call that generated the event. (This is the same user id that is used to check the authority to issue the command; for commands received from a queue, this is also the user identifier (UserIdentifier) from the MD of the command message). Identifier: MQCACF_EVENT_USER_ID. Datatype: MQCFST. Maximum length: MQ_USER_ID_LENGTH. Returned: Always. - EventOrigin
Description: The origin of the action causing the event. Identifier: MQIACF_EVENT_ORIGIN. Datatype: MQCFIN. Values:
- MQEVO_CONSOLE
- Console command.
- MQEVO_INIT
- Initialization input data set command.
- MQEVO_MSG
- Command message on SYSTEM.COMMAND.INPUT.
- MQEVO_INTERNAL
- Directly by queue manager.
- MQEVO_OTHER
- None of the above.
Returned: Always. - EventQMgr
Description: The queue manager where the command was entered. (The queue manager where the command is executed and that generates the event is in the MD of the event message). Identifier: MQCACF_EVENT_Q_MGR. Datatype: MQCFST. Maximum length: MQ_Q_MGR_NAME_LENGTH. Returned: Always. - EventAccountingToken
Description: For commands received as a message (MQEVO_MSG), the accounting token (AccountingToken) from the MD of the command message. Identifier: MQBACF_EVENT_ACCOUNTING_TOKEN. Datatype: MQCFBS. Maximum length: MQ_ACCOUNTING_TOKEN_LENGTH. Returned: Only if EventOrigin is MQEVO_MSG. - EventIdentityData
Description: For commands received as a message (MQEVO_MSG), application identity data (ApplIdentityData) from the MD of the command message. Identifier: MQCACF_EVENT_APPL_IDENTITY. Datatype: MQCFST. Maximum length: MQ_APPL_IDENTITY_DATA_LENGTH. Returned: Only if EventOrigin is MQEVO_MSG. - EventApplType
Description: For commands received as a message (MQEVO_MSG), the type of application (PutApplType) from the MD of the command message. Identifier: MQIACF_EVENT_APPL_TYPE. Datatype: MQCFIN. Returned: Only if EventOrigin is MQEVO_MSG. - EventApplName
Description: For commands received as a message (MQEVO_MSG), the name of the application (PutApplName) from the MD of the command message. Identifier: MQCACF_EVENT_APPL_NAME. Datatype: MQCFST. Maximum length: MQ_APPL_NAME_LENGTH. Returned: Only if EventOrigin is MQEVO_MSG. - EventApplOrigin
Description: For commands received as a message (MQEVO_MSG), the application origin data (ApplOriginData) from the MD of the command message. Identifier: MQCACF_EVENT_APPL_ORIGIN. Datatype: MQCFST. Maximum length: MQ_APPL_ORIGIN_DATA_LENGTH. Returned: Only if EventOrigin is MQEVO_MSG. - Command
Description: The command code. Identifier: MQIACF_COMMAND. Datatype: MQCFIN. Values:
- If the event relates to a PCF command, then the value is that of the Command parameter in the MQCFH structure in the command message.
- If the event relates to an MQSC command, then the value is as follows:
- MQCMD_ARCHIVE_LOG
- ARCHIVE LOG
- MQCMD_BACKUP_CF_STRUC
- BACKUP CFSTRUCT
- MQCMD_CHANGE_AUTH_INFO
- ALTER AUTHINFO
- MQCMD_CHANGE_BUFFER_POOL
- ALTER BUFFPOOL
- MQCMD_CHANGE_CF_STRUC
- ALTER CFSTRUCT
- MQCMD_CHANGE_CHANNEL
- ALTER CHANNEL
- MQCMD_CHANGE_NAMELIST
- ALTER NAMELIST
- MQCMD_CHANGE_PAGE_SET
- ALTER PSID
- MQCMD_CHANGE_PROCESS
- ALTER PROCESS
- MQCMD_CHANGE_Q
- ALTER QLOCAL/QREMOTE/QALIAS/QMODEL
- MQCMD_CHANGE_Q_MGR
- ALTER QMGR, DEFINE MAXSMSGS
- MQCMD_CHANGE_SECURITY
- ALTER SECURITY
- MQCMD_CHANGE_STG_CLASS
- ALTER STGCLASS
- MQCMD_CHANGE_TRACE
- ALTER TRACE
- MQCMD_CLEAR_Q
- CLEAR QLOCAL
- MQCMD_CREATE_AUTH_INFO
- DEFINE AUTHINFO
- MQCMD_CREATE_BUFFER_POOL
- DEFINE BUFFPOOL
- MQCMD_CREATE_CF_STRUC
- DEFINE CFSTRUCT
- MQCMD_CREATE_CHANNEL
- DEFINE CHANNEL
- MQCMD_CREATE_LOG
- DEFINE LOG
- MQCMD_CREATE_NAMELIST
- DEFINE NAMELIST
- MQCMD_CREATE_PAGE_SET
- DEFINE PSID
- MQCMD_CREATE_PROCESS
- DEFINE PROCESS
- MQCMD_CREATE_Q
- DEFINE QLOCAL/QREMOTE/QALIAS/QMODEL
- MQCMD_CREATE_STG_CLASS
- DEFINE STGCLASS
- MQCMD_DELETE_AUTH_INFO
- DELETE AUTHINFO
- MQCMD_DELETE_BUFFER_POOL
- DELETE BUFFPOOL
- MQCMD_DELETE_CF_STRUC
- DELETE CFSTRUCT
- MQCMD_DELETE_CHANNEL
- DELETE CHANNEL
- MQCMD_DELETE_NAMELIST
- DELETE NAMELIST
- MQCMD_DELETE_PAGE_SET
- DELETE PSID
- MQCMD_DELETE_PROCESS
- DELETE PROCESS
- MQCMD_DELETE_Q
- DELETE QLOCAL/QREMOTE/QALIAS/QMODEL
- MQCMD_DELETE_STG_CLASS
- DELETE STGCLASS
- MQCMD_INQUIRE_ARCHIVE
- DISPLAY ARCHIVE
- MQCMD_INQUIRE_AUTH_INFO
- DISPLAY AUTHINFO
- MQCMD_INQUIRE_CF_STRUC
- DISPLAY CFSTRUCT
- MQCMD_INQUIRE_CF_STRUC_STATUS
- DISPLAY CFSTATUS
- MQCMD_INQUIRE_CHANNEL
- DISPLAY CHANNEL
- MQCMD_INQUIRE_CHANNEL_INIT
- DISPLAY CHINIT
- MQCMD_INQUIRE_CHANNEL_STATUS
- DISPLAY CHSTATUS
- MQCMD_INQUIRE_CLUSTER_Q_MGR
- DISPLAY CLUSQMGR
- MQCMD_INQUIRE_CMD_SERVER
- DISPLAY CMDSERV
- MQCMD_INQUIRE_CONNECTION
- DISPLAY CONN
- MQCMD_INQUIRE_LOG
- DISPLAY LOG
- MQCMD_INQUIRE_NAMELIST
- DISPLAY NAMELIST
- MQCMD_INQUIRE_PROCESS
- DISPLAY PROCESS
- MQCMD_INQUIRE_Q
- DISPLAY QUEUE
- MQCMD_INQUIRE_Q_MGR
- DISPLAY QMGR, DISPLAY MAXSMSGS
- MQCMD_INQUIRE_QSG
- DISPLAY GROUP
- MQCMD_INQUIRE_Q_STATUS
- DISPLAY QSTATUS
- MQCMD_INQUIRE_SECURITY
- DISPLAY SECURITY
- MQCMD_INQUIRE_STG_CLASS
- DISPLAY STGCLASS
- MQCMD_INQUIRE_SYSTEM
- DISPLAY SYSTEM
- MQCMD_INQUIRE_THREAD
- DISPLAY THREAD
- MQCMD_INQUIRE_TRACE
- DISPLAY TRACE
- MQCMD_INQUIRE_USAGE
- DISPLAY USAGE
- MQCMD_MOVE_Q
- MOVE QLOCAL
- MQCMD_PING_CHANNEL
- PING CHANNEL
- MQCMD_RECOVER_BSDS
- RECOVER BSDS
- MQCMD_RECOVER_CF_STRUC
- RECOVER CFSTRUCT
- MQCMD_RESOLVE_INDOUBT
- RESOLVE INDOUBT
- MQCMD_RESUME_Q_MGR
- RESUME QMGR other than CLUSTER/CLUSNL
- MQCMD_RESUME_Q_MGR_CLUSTER
- RESUME QMGR CLUSTER/CLUSNL
- MQCMD_REVERIFY_SECURITY
- REVERIFY SECURITY
- MQCMD_SET_ARCHIVE
- SET ARCHIVE
- MQCMD_SET_LOG
- SET LOG
- MQCMD_SET_SYSTEM
- SET SYSTEM
- MQCMD_START_CHANNEL
- START CHANNEL
- MQCMD_START_CHANNEL_INIT
- START CHINIT
- MQCMD_START_CHANNEL_LISTENER
- START LISTENER
- MQCMD_START_CMD_SERVER
- START CMDSERV
- MQCMD_START_TRACE
- START TRACE
- MQCMD_STOP_CHANNEL
- STOP CHANNEL
- MQCMD_STOP_CHANNEL_INIT
- STOP CHINIT
- MQCMD_STOP_CHANNEL_LISTENER
- STOP LISTENER
- MQCMD_STOP_CMD_SERVER
- STOP CMDSERV
- MQCMD_STOP_Q_MGR
- STOP QMGR
- MQCMD_STOP_TRACE
- STOP TRACE
- MQCMD_SUSPEND_Q_MGR
- SUSPEND QMGR other than CLUSTER/CLUSNL
- MQCMD_SUSPEND_Q_MGR_CLUSTER
- SUSPEND QMGR CLUSTER/CLUSNL
Returned: Always. - CommandData
Description: PCF group containing the elements related to the command data. Identifier: MQGACF_COMMAND_DATA. Datatype: MQCFGR. PCF elements in group:
- If generated for an MQSC command, this group only contains the PCF element CommandMQSC.
- If generated for a PCF command, this group contains the PCF elements that comprised the PCF command, exactly as in the command message.
Returned: Always. - CommandMQSC
Description: The text of the MQSC command. Identifier: MQCACF_COMMAND_MQSC. Datatype: MQCFST. Maximum length: MQ_COMMAND_MQSC_LENGTH. Returned: Only if Reason in the message descriptor is MQRC_COMMAND_MQSC.