event_range_manage()
Change the status of PATROL events in a specified event ID range.
Syntax
Parameters
Parameter | Definition |
---|---|
maxcount | string that is the maximum number of events that will be affected by the status change Specifying the NULL string " " causes maxcount to default to 100. |
newstatus | string that is the new status to be assigned to each event*Valid Values* |
username | string that is the user name of the person changing the event status The username is placed in each event diary. |
IDrange | string that is the range of PATROL event IDs eligible for this event_range_manage() function*Valid Values* |
Description
The event_range_manage() function assigns newstatus to maxcount PATROL events whose event IDs are within IDrangeand writes username in the event diary for each of the modified events.
Managing events using the event_range_manage() function follow the same rules used for managing events from the PATROL Console or the PATROL Event Manager (PEM) Console. For example, you cannot acknowledge an event that is closed.
Example
The following event_range_manage() function acknowledges a maximum of 15 events whose event IDs are 30 and above. The user ID used to acknowledge the events is Fred.