Use this command to set the retention period for event records in the server database that will allow you to monitor completed schedules. An event record is created whenever processing of a scheduled command is started or missed.
You can adjust the length of time that event information is maintained to avoid insufficient or outdated data. The server automatically removes the event records from the database after the retention period passes and the startup window for the event has elapsed.
You can issue the QUERY EVENT command to display information about scheduled and completed events.
You can issue the DELETE EVENT command to delete event records regardless of whether their retention period has passed.
You can issue the QUERY STATUS command to display the value for the event retention period. At installation, this value is set to 10 days.
Privilege Class
To perform this task, you must have system privilege.
Syntax
>>-Set EVentretention--days------------------------------------><
Parameters
Examples
Task
Set the retention period to 15 days.
Related Commands
Table 246. Commands Related to SET EVENTRETENTION
Command | Description |
---|---|
DELETE EVENT | Deletes event records prior to a specified date and time. |
QUERY EVENT | Displays information about scheduled and completed events for selected clients. |
QUERY STATUS | Displays the settings of server parameters, such as those selected by the SET commands. |