CommandEvent (integer) on IBM i

Controls whether messages are put onto a local queue when commands are issued.

This controls whether messages are written to a new event queue, SYSTEM.ADMIN.COMMAND.EVENT, whenever commands are issued. This feature is useful for command tracking notification, and for problem diagnosis. To inquire about the CommandEvent queue manager attribute, use the new attribute selector iacev with one of the following values:

  • EVRENA - command event messages are generated and put onto the queue for all successful commands.
  • EVND - command event messages are generated and put onto the queue for all successful commands other than the DISPLAY (MQSC) command, and the Inquire (PCF) command.
  • EVRDIS - command event messages are not generated or put onto the queue (this is the queue manager's initial default value).

To determine the value of this attribute, use the CMDEV selector with the MQINQ call.

Parent topic: Attributes for the queue manager on IBM i