Command
Event name: | Command. |
Reason code in MQCFH: |
MQRC_COMMAND_MQSC (2412, X'96C'). MQSC command successfully issued, or, MQRC_COMMAND_PCF (2413, X'96D'). PCF command successfully issued. |
Event description: | Command successfully issued. |
Event type: | Command. |
Platforms: | All. |
Event queue: | SYSTEM.ADMIN.COMMAND.EVENT. |
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. Data type: 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 MQMD of the command message). Identifier: MQCACF_EVENT_USER_ID. Data type: MQCFST. Maximum length: MQ_USER_ID_LENGTH. Returned: Always. - EventOrigin
-
Description: The origin of the action causing the event. Identifier: MQIACF_EVENT_ORIGIN. Data type: 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 MQMD of the event message). Identifier: MQCACF_EVENT_Q_MGR. Data type: 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 MQMD of the command message. Identifier: MQBACF_EVENT_ACCOUNTING_TOKEN. Data type: 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 MQMD of the command message. Identifier: MQCACF_EVENT_APPL_IDENTITY. Data type: 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 MQMD of the command message. Identifier: MQIACF_EVENT_APPL_TYPE. Data type: 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 MQMD of the command message. Identifier: MQCACF_EVENT_APPL_NAME. Data type: 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 MQMD of the command message. Identifier: MQCACF_EVENT_APPL_ORIGIN. Data type: MQCFST. Maximum length: MQ_APPL_ORIGIN_DATA_LENGTH. Returned: Only if EventOrigin is MQEVO_MSG. - Command
-
Description: The command code. Identifier: MQIACF_COMMAND. Data type: 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_COMM_INFO
- ALTER COMMINFO
- MQCMD_CHANGE_LISTENER
- ALTER LISTENER
- 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_SERVICE
- ALTER SERVICE
- MQCMD_CHANGE_STG_CLASS
- ALTER STGCLASS
- MQCMD_CHANGE_SUBSCRIPTION
- ALTER SUBSCRIPTION
- MQCMD_CHANGE_TOPIC
- ALTER TOPIC
- MQCMD_CHANGE_TRACE
- ALTER TRACE
- MQCMD_CLEAR_Q
- CLEAR QLOCAL
- MQCMD_CLEAR_TOPIC_STRING
- CLEAR TOPICSTR
- 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_COMM_INFO
- DEFINE COMMINFO
- MQCMD_CREATE_LISTENER
- DEFINE LISTENER
- 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_SERVICE
- DEFINE SERVICE
- MQCMD_CREATE_STG_CLASS
- DEFINE STGCLASS
- MQCMD_CREATE_SUBSCRIPTION
- DEFINE SUB
- MQCMD_CREATE_TOPIC
- DEFINE TOPIC
- MQCMD_DELETE_AUTH_INFO
- DELETE AUTHINFO
- MQCMD_DELETE_CF_STRUC
- DELETE CFSTRUCT
- MQCMD_DELETE_CHANNEL
- DELETE CHANNEL
- MQCMD_DELETE_COMM_INFO
- DELETE COMMINFO
- MQCMD_DELETE_LISTENER
- DELETE LISTENER
- 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_SERVICE
- DELETE SERVICE
- MQCMD_DELETE_STG_CLASS
- DELETE STGCLASS
- MQCMD_DELETE_SUBSCRIPTION
- DELETE SUBSCRIPTION
- MQCMD_DELETE_TOPIC
- DELETE TOPIC
- 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_CHLAUTH_RECS
- DISPLAY CHLAUTH
- MQCMD_INQUIRE_CLUSTER_Q_MGR
- DISPLAY CLUSQMGR
- MQCMD_INQUIRE_CMD_SERVER
- DISPLAY CMDSERV
- MQCMD_INQUIRE_COMM_INFO
- DISPLAY COMMINFO
- MQCMD_INQUIRE_CONNECTION
- DISPLAY CONN
- MQCMD_INQUIRE_LISTENER
- DISPLAY LISTENER
- MQCMD_INQUIRE_LOG
- DISPLAY LOG
- MQCMD_INQUIRE_NAMELIST
- DISPLAY NAMELIST
- MQCMD_INQUIRE_PROCESS
- DISPLAY PROCESS
- MQCMD_INQUIRE_PUBSUB_STATUS
- DISPLAY PUBSUB
- 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_SERVICE
- DISPLAY SERVICE
- MQCMD_INQUIRE_STG_CLASS
- DISPLAY STGCLASS
- MQCMD_INQUIRE_SUBSCRIPTION
- DISPLAY SUB
- MQCMD_INQUIRE_SUB_STATUS
- DISPLAY SBSTATUS
- MQCMD_INQUIRE_SYSTEM
- DISPLAY SYSTEM
- MQCMD_INQUIRE_THREAD
- DISPLAY THREAD
- MQCMD_INQUIRE_TOPIC
- DISPLAY TOPIC
- MQCMD_INQUIRE_TOPIC_STATUS
- DISPLAY TPSTATUS
- 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_REFRESH_CLUSTER
- REFRESH CLUSTER
- MQCMD_REFRESH_Q_MGR
- REFRESH QMGR
- MQCMD_REFRESH_SECURITY
- REFRESH SECURITY
- MQCMD_RESET_CHANNEL
- RESET CHANNEL
- MQCMD_RESET_CLUSTER
- RESET CLUSTER
- MQCMD_RESET_Q_MGR
- RESET QMGR
- MQCMD_RESET_Q_STATS
- RESET QSTATS
- MQCMD_RESET_TPIPE
- RESET TPIPE
- MQCMD_RESOLVE_CHANNEL
- RESOLVE CHANNEL
- 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_CHLAUTH_REC
- SET CHLAUTH
- 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_SERVICE
- START SERVICE
- 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_CONNECTION
- STOP CONN
- MQCMD_STOP_SERVICE
- STOP SERVICE
- 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. Data type: 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 make up the PCF command, exactly as in the command message.
Returned: Always. - CommandMQSC
-
Description: The text of the MQSC command. Identifier: MQCACF_COMMAND_MQSC. Data type: MQCFST. Maximum length: MQ_COMMAND_MQSC_LENGTH. Returned: Only if Reason in the message descriptor is MQRC_COMMAND_MQSC.
Parent topic: Event message descriptions