When command events are generated
A command event message is generated for the following:
- When the queue manager attribute, CMDEV, is specified as ENABLED and an MQSC or PCF command is successfully executed.
- When the queue manager attribute, CMDEV, is specified as NODISPLAY and any command is successfully executed, with the exception of DISPLAY commands (MQSC), and Inquire commands (PCF).
- When the MQSC command, ALTER QMGR, or the PCF command, Change Queue Manager, is executed and either:
- the queue manager attribute, CMDEV, after the change is not specified as DISABLED.
- the queue manager attribute, CMDEV, before the change was not specified as DISABLED.
If a command is executed against the command event queue, SYSTEM.ADMIN.COMMAND.EVENT, a command event is generated providing the queue still exists and it is not put inhibited.